Using parent directories in Manifest.in

I know that MANIFEST.in recognizes relative paths. However, is it possible to use relative paths pointing to directories outside the project?

For instance:

/home /random_dir /python_project MANIFEST.in setup.py /packages 

And then inside MANIFEST.in

 graft ../random_dir/ 

If not, is there an alternative way to include such directories other than just copying and pasting the catalog into the project?

+4
source share
1 answer

I tested it for you. It seems that he does not want to go below the root of the project.

Use a symbolic link . Depending on the data and your work structure, the git submodule might better solve your situation.

+1
source

Source: https://habr.com/ru/post/1436140/


All Articles