bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011)

This commit is contained in:
Tzu-ping Chung 2021-09-07 18:27:48 +08:00 committed by GitHub
parent a5c6bcf244
commit 4f88161f07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -37,10 +37,10 @@ _INSTALL_SCHEMES = {
'data': '{base}',
},
'posix_home': {
'stdlib': '{installed_base}/lib/python',
'platstdlib': '{base}/lib/python',
'stdlib': '{installed_base}/{platlibdir}/python',
'platstdlib': '{base}/{platlibdir}/python',
'purelib': '{base}/lib/python',
'platlib': '{base}/lib/python',
'platlib': '{base}/{platlibdir}/python',
'include': '{installed_base}/include/python',
'platinclude': '{installed_base}/include/python',
'scripts': '{base}/bin',

View File

@ -0,0 +1,2 @@
Fix the ``posix_home`` scheme in :mod:`sysconfig` to depend on
:data:`sys.platlibdir`.