[Python-checkins] Revert "bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011)" (GH-28201)

pablogsal webhook-mailer at python.org
Tue Sep 7 07:46:29 EDT 2021


https://github.com/python/cpython/commit/97b754d4b46ad9dd63f68906484f805931578c81
commit: 97b754d4b46ad9dd63f68906484f805931578c81
branch: main
author: Pablo Galindo Salgado <Pablogsal at gmail.com>
committer: pablogsal <Pablogsal at gmail.com>
date: 2021-09-07T12:46:25+01:00
summary:

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

This reverts commit 4f88161f07538dfb24a43189fd59bf966cb40817.

files:
D Misc/NEWS.d/next/Library/2021-08-28-14-52-27.bpo-45035.O9mNam.rst
M Lib/sysconfig.py

diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index 86a9c4661034b..95b48f6429d5f 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -37,10 +37,10 @@
         '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 b26c51ac17e7c..0000000000000
--- 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`.



More information about the Python-checkins mailing list