Django

Code

Ticket #538 (closed: fixed)

Opened 3 years ago

Last modified 3 years ago

django is not zip_safe

Reported by: grayrest@gmail.com Assigned to: adrian
Milestone: Component: Tools
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

tugberk1.htm (6.1 kB) - added by tugberk on 09/12/07 17:45:53.
tugberk

Change History

09/22/05 08:54:24 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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?

09/22/05 09:29:35 changed 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: 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. :]

09/12/07 17:45:53 changed by tugberk

  • attachment tugberk1.htm added.

tugberk


Add/Change #538 (django is not zip_safe)




Change Properties
Action