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

Ronald Oussoren report at bugs.python.org
Wed May 19 14:51:55 CEST 2010


Ronald Oussoren <ronaldoussoren at mac.com> 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. That is, "python setup.py install --user" will install
  into "~/Library/Python/2.7" instead of "~/.local".


In python 2.6 both ~/.local and ~/Library/Python were added to sys path and that's confusing. As ~/.local does not conform to the filesystem layout conventions on OSX the --user directory now always refers to ~/Library/Python.

For classic unix installs --user still uses the unix conventions. I'm not 100% sure that that is the right choice.


In other words: works as designed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8759>
_______________________________________


More information about the Python-bugs-list mailing list