|
|
3dcbaaa |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
3dcbaaa |
From: Fedora Python maintainers <python-devel@lists.fedoraproject.org>
|
|
|
3dcbaaa |
Date: Wed, 15 Jul 2020 15:19:00 +0200
|
|
|
3dcbaaa |
Subject: [PATCH] python-2.7-lib64-sysconfig.patch
|
|
|
3dcbaaa |
|
|
|
3dcbaaa |
00103 #
|
|
|
3dcbaaa |
Python 2.7 split out much of the path-handling from distutils/sysconfig.py to
|
|
|
3dcbaaa |
a new sysconfig.py (in r77704).
|
|
|
3dcbaaa |
We need to make equivalent changes to that new file to ensure that the stdlib
|
|
|
3dcbaaa |
and platform-specific code go to /usr/lib64 not /usr/lib, on 64-bit archs:
|
|
|
3dcbaaa |
---
|
|
|
3dcbaaa |
Lib/sysconfig.py | 18 +++++++++---------
|
|
|
3dcbaaa |
1 file changed, 9 insertions(+), 9 deletions(-)
|
|
|
3dcbaaa |
|
|
|
3dcbaaa |
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
|
|
|
3dcbaaa |
index 9c8350d953d..1ff812f7b96 100644
|
|
|
3dcbaaa |
--- a/Lib/sysconfig.py
|
|
|
3dcbaaa |
+++ b/Lib/sysconfig.py
|
|
|
c6247fd |
@@ -7,20 +7,20 @@ from os.path import pardir, realpath
|
|
|
c6247fd |
|
|
|
c6247fd |
_INSTALL_SCHEMES = {
|
|
|
c6247fd |
'posix_prefix': {
|
|
|
c6247fd |
- 'stdlib': '{base}/lib/python{py_version_short}',
|
|
|
c6247fd |
- 'platstdlib': '{platbase}/lib/python{py_version_short}',
|
|
|
c6247fd |
+ 'stdlib': '{base}/lib64/python{py_version_short}',
|
|
|
c6247fd |
+ 'platstdlib': '{platbase}/lib64/python{py_version_short}',
|
|
|
c6247fd |
'purelib': '{base}/lib/python{py_version_short}/site-packages',
|
|
|
c6247fd |
- 'platlib': '{platbase}/lib/python{py_version_short}/site-packages',
|
|
|
c6247fd |
+ 'platlib': '{platbase}/lib64/python{py_version_short}/site-packages',
|
|
|
c6247fd |
'include': '{base}/include/python{py_version_short}',
|
|
|
c6247fd |
'platinclude': '{platbase}/include/python{py_version_short}',
|
|
|
c6247fd |
'scripts': '{base}/bin',
|
|
|
c6247fd |
'data': '{base}',
|
|
|
c6247fd |
},
|
|
|
c6247fd |
'posix_home': {
|
|
|
c6247fd |
- 'stdlib': '{base}/lib/python',
|
|
|
c6247fd |
- 'platstdlib': '{base}/lib/python',
|
|
|
c6247fd |
+ 'stdlib': '{base}/lib64/python',
|
|
|
c6247fd |
+ 'platstdlib': '{base}/lib64/python',
|
|
|
c6247fd |
'purelib': '{base}/lib/python',
|
|
|
c6247fd |
- 'platlib': '{base}/lib/python',
|
|
|
c6247fd |
+ 'platlib': '{base}/lib64/python',
|
|
|
c6247fd |
'include': '{base}/include/python',
|
|
|
c6247fd |
'platinclude': '{base}/include/python',
|
|
|
c6247fd |
'scripts': '{base}/bin',
|
|
|
c6247fd |
@@ -65,10 +65,10 @@ _INSTALL_SCHEMES = {
|
|
|
c6247fd |
'data' : '{userbase}',
|
|
|
c6247fd |
},
|
|
|
c6247fd |
'posix_user': {
|
|
|
c6247fd |
- 'stdlib': '{userbase}/lib/python{py_version_short}',
|
|
|
c6247fd |
- 'platstdlib': '{userbase}/lib/python{py_version_short}',
|
|
|
c6247fd |
+ 'stdlib': '{userbase}/lib64/python{py_version_short}',
|
|
|
c6247fd |
+ 'platstdlib': '{userbase}/lib64/python{py_version_short}',
|
|
|
c6247fd |
'purelib': '{userbase}/lib/python{py_version_short}/site-packages',
|
|
|
c6247fd |
- 'platlib': '{userbase}/lib/python{py_version_short}/site-packages',
|
|
|
c6247fd |
+ 'platlib': '{userbase}/lib64/python{py_version_short}/site-packages',
|
|
|
c6247fd |
'include': '{userbase}/include/python{py_version_short}',
|
|
|
c6247fd |
'scripts': '{userbase}/bin',
|
|
|
c6247fd |
'data' : '{userbase}',
|