#538 closed defect (fixed)
django is not zip_safe
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Tools | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
When installing on my gentoo system setuptools failed to detect that django wasn't zip safe, so it zipped the egg. This causes django-admin's start(project|app) to fail. Adding
zip_safe = False,
To the parameters in setup.py takes care of it.
Attachments (1)
Change History (3)
comment:1 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 20 years ago
Basically anytime you're using the file system to access data files so the templates and whatnot. I won't duplicate PJE's documentation, but the relevant portion is:
http://peak.telecommunity.com/DevCenter/setuptools#accessing-data-files-at-runtime
It seems fairly straightforward. That being said, I'd much rather have other issues addressed than zip safety. :]
Thanks! Fixed in [662]. But, surely, a better long-term solution would be to make Django zip-safe. What other parts aren't zip-safe?