5👍
✅
You add zip_safe = False
as an option to setup().
I don’t think it has to do with directories. Setuptools will happily eggify packages with loads of directories in it.
Then of course it’s another problem that this part of Django doesn’t find the package even though it’s zipped. It should.
Source:stackexchange.com