This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author soundmurderer
Recipients soundmurderer
Date 2009-05-19.05:52:04
SpamBayes Score 3.9676293e-06
Marked as misclassified No
Message-id <1242712344.32.0.862299052402.issue6060@psf.upfronthosting.co.za>
In-reply-to
Content
The PYTHONHOME variable does not allow complete control over making a
Python installation find its own libs because "lib/pythonX.Y" gets
appended to it, see:
    http://docs.python.org/using/cmdline.html#envvar-PYTHONHOME

For example, let's say my Python installation is here:
    /home/soundmurderer/lib/x86_64/python2.6

I cannot set PYTHONHOME to point to this, because my path does not end
in "lib/pythonX.Y".  Of course, you could say that I should just move
the Python libs, but it may create inconsistencies on how stuff is
organized on some systems.  PYTHONHOME should point to the Python
installation root, period.  Please give the admin complete control.

Also, the --libdir flag to ./configure should work and set PYTHONHOME
correctly.  The fact that it does nothing has its own ticket, see:
    http://bugs.python.org/issue858809

It is, however, my humble opinion that fixing that other ticket properly
also necessitates fixing how PYTHONHOME works (because --libdir should
set the default PYTHONHOME during build/install), so they should really
be one issue.

Thanks!
History
Date User Action Args
2009-05-19 05:52:26soundmurderersetrecipients: + soundmurderer
2009-05-19 05:52:24soundmurderersetmessageid: <1242712344.32.0.862299052402.issue6060@psf.upfronthosting.co.za>
2009-05-19 05:52:19soundmurdererlinkissue6060 messages
2009-05-19 05:52:07soundmurderercreate