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 smani
Recipients smani
Date 2020-06-03.11:00:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591182025.1.0.356419479186.issue40854@roundup.psfhosted.org>
In-reply-to
Content
You can currently point the python interpreter to a different install say via

    export PYTHONHOME=<Prefix>
    export PYTHONPATH=<Prefix>/lib/python3.9
    python3

With the newly added platlibdir [1], if python was configured with platlibdir=lib64, this will break because i.e. the site-packages dir as returned by `sysconfig.get_paths()` will use lib64 and not lib as the other install may be using.

This PR adds the possibility to override the platlibdir via environment variable.

Full rationale: [2].

[1] https://github.com/python/cpython/pull/8068
[2] https://src.fedoraproject.org/rpms/python3.9/pull-request/10
History
Date User Action Args
2020-06-03 11:00:25smanisetrecipients: + smani
2020-06-03 11:00:25smanisetmessageid: <1591182025.1.0.356419479186.issue40854@roundup.psfhosted.org>
2020-06-03 11:00:25smanilinkissue40854 messages
2020-06-03 11:00:24smanicreate
Morty Proxy This is a proxified and sanitized view of the page, visit original site.