How to make easy_install deploy a package to directories rather than a single egg file?

How exactly can I configure the setup.py file so that when easy_install starts, the package will expand into \ site-packages \ as a directory, and not remain inside the egg.

The problem that I am facing is that one of the django applications created will not automatically determine if it is inside the egg.

EDIT: For example, if I type easy_install photologue, it simply installs the directory \photologue\in the site packages. This is the behavior that I would like, but it seems that for this to happen, the directory that was packaged must have at least one directory / module.

+3
source share
1 answer

You add zip_safe = Falseas an option to install ().

I do not think this is related to directories. Setuptools is happy to expect packages with many directories.

Then, of course, another problem is that this part of Django does not find the package, even if it is fastened. It should be.

+5
source

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


All Articles