From 97b754d4b46ad9dd63f68906484f805931578c81 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Salgado Date: Tue, 7 Sep 2021 12:46:25 +0100 Subject: Revert "bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011)" (GH-28201) This reverts commit 4f88161f07538dfb24a43189fd59bf966cb40817. --- Lib/sysconfig.py | 6 +++--- Misc/NEWS.d/next/Library/2021-08-28-14-52-27.bpo-45035.O9mNam.rst | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 Misc/NEWS.d/next/Library/2021-08-28-14-52-27.bpo-45035.O9mNam.rst 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`. -- cgit v0.12