#18115: Warn that repeated "setup.py install" without removal causes problems ------------------------------------------------+------------------------ Reporter: carljm | Owner: nobody Type: Cleanup/optimization | Status: new Component: Documentation | Version: 1.4 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | ------------------------------------------------+------------------------ If you repeatedly install newer versions of Django (or any other Python project) using "python setup.py install", without removing the previously- installed version, any files removed in the newer version will never be removed from your site-packages. This can potentially cause a variety of problems, including imports continuing to "work" (with outdated code) that ought to fail, and most visibly in Django 1.4, extraneous files in the startproject template.
The installation instructions ought to include a clear warning against this. Currently there's a bit of a warning at the end of [https://docs.djangoproject.com/en/dev/topics/install/#installing-an- official-release-manually this section], but it's not as clear as it could be about the specific risk of repeated "setup.py install", and it's in the section about installing using a pth file or symbolic link, which is a different thing entirely. -- Ticket URL: <https://code.djangoproject.com/ticket/18115> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.