Skip to content

Commit 0d8b5a5

Browse files
uranusjrmiss-islington
authored andcommitted
bpo-45035: Make sysconfig posix_home depend on platlibdir (pythonGH-28011)
(cherry picked from commit 4f88161) Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
1 parent af8c781 commit 0d8b5a5

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎Lib/sysconfig.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
'data': '{base}',
3838
},
3939
'posix_home': {
40-
'stdlib': '{installed_base}/lib/python',
41-
'platstdlib': '{base}/lib/python',
40+
'stdlib': '{installed_base}/{platlibdir}/python',
41+
'platstdlib': '{base}/{platlibdir}/python',
4242
'purelib': '{base}/lib/python',
43-
'platlib': '{base}/lib/python',
43+
'platlib': '{base}/{platlibdir}/python',
4444
'include': '{installed_base}/include/python',
4545
'platinclude': '{installed_base}/include/python',
4646
'scripts': '{base}/bin',
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix the ``posix_home`` scheme in :mod:`sysconfig` to depend on
2+
:data:`sys.platlibdir`.

0 commit comments

Comments
 (0)