Skip to content

Commit 4f88161

Browse files
authored
bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011)
1 parent a5c6bcf commit 4f88161

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

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)