Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#538 closed defect (fixed)

django is not zip_safe

Reported by: grayrest@… 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


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 takes care of it.

Attachments (1)

tugberk1.htm (6.1 KB) - added by tugberk 15 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 17 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

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?

comment:2 Changed 17 years ago by grayrest

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:

It seems fairly straightforward. That being said, I'd much rather have other issues addressed than zip safety. :]

Changed 15 years ago by tugberk

Attachment: tugberk1.htm added


Note: See TracTickets for help on using tickets.
Back to Top