New submission from Sandro Mani <[email protected]>:
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
----------
components: Interpreter Core
messages: 370655
nosy: smani
priority: normal
severity: normal
status: open
title: [Patch] Allow overriding sys.platlibdir
versions: Python 3.10
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40854>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com