[issue6060] PYTHONHOME should be more flexible (and controllable by --libdir)

"Martin v. Löwis" <report@bugs.python.org> at psf.upfronthosting.co.za "Martin v. Löwis" <report@bugs.python.org> at psf.upfronthosting.co.za
Sat May 23 13:21:42 CEST 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

> PYTHONHOME should point to the Python installation root, period.

And indeed, it does. After your proposed, changed, it wouldn't anymore.
The Python installation root is *not* the directory where the Python
library lives, but the parent directory in which both to find the python
executable (bin/python), and the library (lib/pythonX.Y).

As R. David Murray explains, there is no chance that this definition
could possibly change - it would break existing systems.

I'm not quite sure what you want to achieve: if you want an additional
directory to show up in sys.path, just edit Modules/Setup.

----------
nosy: +loewis

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


More information about the Python-bugs-list mailing list