Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#538 closed defect (fixed)

django is not zip_safe

Reported by: grayrest@… Owned by: adrian
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: UI/UX:


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 8 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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 10 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 8 years ago by tugberk


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