summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2021-09-07 11:46:25 (GMT)
committerGitHub <noreply@github.com>2021-09-07 11:46:25 (GMT)
commit97b754d4b46ad9dd63f68906484f805931578c81 (patch)
tree2cac227dcbb1c7068e18ccfa11342c8883dcaaa2
parent0474d06008f8c9eba660ed20d336ffdc5c4db121 (diff)
downloadcpython-97b754d4b46ad9dd63f68906484f805931578c81.zip
cpython-97b754d4b46ad9dd63f68906484f805931578c81.tar.gz
cpython-97b754d4b46ad9dd63f68906484f805931578c81.tar.bz2
Revert "bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011)" (GH-28201)
This reverts commit 4f88161f07538dfb24a43189fd59bf966cb40817.
-rw-r--r--Lib/sysconfig.py6
-rw-r--r--Misc/NEWS.d/next/Library/2021-08-28-14-52-27.bpo-45035.O9mNam.rst2
2 files changed, 3 insertions, 5 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index 86a9c46..95b48f6 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -37,10 +37,10 @@ _INSTALL_SCHEMES = {
'data': '{base}',
},
'posix_home': {
- 'stdlib': '{installed_base}/{platlibdir}/python',
- 'platstdlib': '{base}/{platlibdir}/python',
+ 'stdlib': '{installed_base}/lib/python',
+ 'platstdlib': '{base}/lib/python',
'purelib': '{base}/lib/python',
- 'platlib': '{base}/{platlibdir}/python',
+ 'platlib': '{base}/lib/python',
'include': '{installed_base}/include/python',
'platinclude': '{installed_base}/include/python',
'scripts': '{base}/bin',
diff --git a/Misc/NEWS.d/next/Library/2021-08-28-14-52-27.bpo-45035.O9mNam.rst b/Misc/NEWS.d/next/Library/2021-08-28-14-52-27.bpo-45035.O9mNam.rst
deleted file mode 100644
index b26c51a..0000000
--- a/Misc/NEWS.d/next/Library/2021-08-28-14-52-27.bpo-45035.O9mNam.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix the ``posix_home`` scheme in :mod:`sysconfig` to depend on
-:data:`sys.platlibdir`.