From 94b7202709d2d1c83ddb3b68daa7675ccaa79258 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Salgado Date: Tue, 7 Sep 2021 12:17:04 +0100 Subject: [PATCH] Revert "bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011)" This reverts commit 4f88161f07538dfb24a43189fd59bf966cb40817. --- Lib/sysconfig.py | 6 +++--- .../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 86a9c4661034b4..95b48f6429d5f8 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 b26c51ac17e7c5..00000000000000 --- 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`.