I just ran into a weird issue where Django is unable to look inside of zipped egg files when searching for fixtures. I've noticed that in my project's eggs
folder, some projects are unzipped to directories and some are left in their zip files. Is there a way for me to specify in setup.py
that my project must be unzipped before use?
Yes, TK, there is. Use the zip_safe
parameter to the setup()
method to tell setup that your file needs to be unzipped:
setup(
...
zip_safe = False,
...
)