Opened 19 years ago

Closed 19 years ago

Last modified 19 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

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)

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

Download all attachments as: .zip

Change History (3)

comment:1 by Adrian Holovaty, 19 years ago

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 by grayrest, 19 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. :]

by tugberk, 17 years ago

Attachment: tugberk1.htm added

tugberk

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