[issue8759] 2.7: wrong user site directory on Linux

2010-08-26 Thread Éric Araujo
Éric Araujo added the comment: Fixed in the distutils2 backport in 7f0148944e28 (not pushed yet due to SSH problem with Bitbucket). -- nosy: +eric.araujo resolution: invalid -> fixed ___ Python tracker ___

[issue8759] 2.7: wrong user site directory on Linux

2010-05-20 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue8759] 2.7: wrong user site directory on Linux

2010-05-20 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Thanks. > there is an install scheme in distutils that describes the exact layout I figured that this is now exposed via the `sysconfig` module. There is also an old install scheme in `distutils.command.install`, but it seems to be outdated and is only a

[issue8759] 2.7: wrong user site directory on Linux

2010-05-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Shridar: that is correct a framework install will not look in ~/.local, but only in ~/Library/Python/2.7 (there is an install scheme in distutils that describes the exact layout). Technically the name "Python" subdirectory is sysconfig.get_config_var("PYTH

[issue8759] 2.7: wrong user site directory on Linux

2010-05-19 Thread Tarek Ziadé
Tarek Ziadé added the comment: Fixed in r81371, r81372 Thanks! I let you close the issue once you are through with the rest of the talk. -- ___ Python tracker ___ _

[issue8759] 2.7: wrong user site directory on Linux

2010-05-19 Thread Tarek Ziadé
Tarek Ziadé added the comment: "python/2.7/site-packages" is a typo in sysconfig, it should be "python2.7/site-packages" you are right. Fixing it.. -- ___ Python tracker ___ __

[issue8759] 2.7: wrong user site directory on Linux

2010-05-19 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: On further analysis: $ /tmp/apy27/bin/python -c "from sysconfig import get_path; print get_path('purelib', 'posix_user')" /home/sridharr/.local/lib/python/2.7/site-packages $ >From sysconfig.py: 'posix_user': { 'stdlib': '{userbase}/lib/pytho

[issue8759] 2.7: wrong user site directory on Linux

2010-05-19 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: @Ronald: Ah, I see. So on Mac, Python 2.7 (with default site configuration) will not pickup packages installed in ~/.local, correct? It will, from now onwards, only consider ~/Library/Package as the user site directory? I ask because I just want to double

[issue8759] 2.7: wrong user site directory on Linux; totally missing on OSX

2010-05-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The --user directory for framework installs of python on OSX has changed from a subdirectory of ~/.local to a subdirectory ~/Library. As described in the NEWS file: - Issue #8084: PEP 370 now conforms to system conventions for framework builds on MacOS X.

[issue8759] 2.7: wrong user site directory on Linux; totally missing on OSX

2010-05-19 Thread Tarek Ziadé
Tarek Ziadé added the comment: Are you sure you didn't deactivate use site ? (by turning site.ENABLE_USER_SITE off) Please check its value: >>> import site >>> site.ENABLE_USER_SITE True Pathes look fine on my Mac : Python 2.7b2+ (trunk:81228, May 16 2010, 14:42:34) [GCC 4.0.1 (Ap

[issue8759] 2.7: wrong user site directory on Linux; totally missing on OSX

2010-05-19 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> tarek nosy: +ronaldoussoren, tarek priority: normal -> high ___ Python tracker ___ ___ Pyt

[issue8759] 2.7: wrong user site directory on Linux; totally missing on OSX

2010-05-18 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : sridh...@triple:~$ /opt/ActivePython-2.7/bin/python -c "import sys; print sys.path; import cmdln" ['', '/opt/ActivePython-2.7/lib/python27.zip', '/opt/ActivePython-2.7/lib/python2.7', '/opt/ActivePython-2.7/lib/python2.7/plat-linux2', '/opt/ActivePytho