#26489: Should reusable django apps use `zip_safe=False` in setup.py?
-------------------------------------+-------------------------------------
Reporter: guettli | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):
* type: Uncategorized => Cleanup/optimization
Comment:
I think it's not strictly needed as setuptools
[https://pythonhosted.org/setuptools/setuptools.html#setting-the-zip-safe-
flag seems to have some autodetection]. I guess I'm concerned that adding
it without any comment or explanation will cause readers to copy and paste
it in their own projects without understanding the ramifications (e.g.
projects without templates, static files, or similar assets may not need
it, I think).
I'm not sure if Django's docs are the place for education about setuptools
options like this. Any opinions?
--
Ticket URL: <https://code.djangoproject.com/ticket/26489#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.6643ad10564c054eaca83b2e050bffe1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.