Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue7299] setup.py install doesn't honor PYTHONUSERBASE

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 10, 2009, 4:56 AM

Post #1 of 2 (156 views)
Permalink
[issue7299] setup.py install doesn't honor PYTHONUSERBASE

New submission from Matthias Klose <doko [at] debian>:

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 <report [at] bugs>
<http://bugs.python.org/issue7299>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 10, 2009, 5:13 AM

Post #2 of 2 (137 views)
Permalink
[issue7299] setup.py install doesn't honor PYTHONUSERBASE [In reply to]

Tarek Ziadé <ziade.tarek [at] gmail> 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 <report [at] bugs>
<http://bugs.python.org/issue7299>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.