[issue7299] setup.py install doesn't honor PYTHONUSERBASE
Changes by Éric Araujo mer...@netwok.org: -- resolution: - invalid stage: - committed/rejected status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7299 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7299] setup.py install doesn't honor PYTHONUSERBASE
Éric Araujo mer...@netwok.org added the comment: Closing in two weeks if there is no additional information. Please reopen if needed. -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7299 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7299] setup.py install doesn't honor PYTHONUSERBASE
Éric Araujo mer...@netwok.org added the comment: Hello It seems to me that your patch doesn’t fix a bug but adds a feature. PEP 370 says that “distutils.command.install (setup.py install) gets a new argument --user to install packages in the user site directory”, not that the presence of the envvar should trigger the user install scheme. Can you give a link to the original bug report? Regards -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7299 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7299] setup.py install doesn't honor PYTHONUSERBASE
New submission from Matthias Klose d...@debian.org: Got an user report about setup.py install not honoring PYTHONUSERBASE. Is this by design? If not, the attached patch seems to implement this functionality. -- assignee: tarek components: Distutils files: userbase.diff keywords: patch, patch messages: 95111 nosy: doko, tarek severity: normal status: open title: setup.py install doesn't honor PYTHONUSERBASE type: feature request versions: Python 2.7 Added file: http://bugs.python.org/file15305/userbase.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7299 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7299] setup.py install doesn't honor PYTHONUSERBASE
Tarek Ziadé ziade.ta...@gmail.com added the comment: install_userbase is using USER_BASE which is in site.py. This value is initialized when Python starts, and does check for PYTHONUSERBASE in the environ. (if ENABLE_USER_SITE is true) If this doesn't happen, this is most likely because the user can't write to its .local. If he can, you need to debug the Python starting process (site.main()) to see why it's not used. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7299 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com