summaryrefslogtreecommitdiff
path: root/source/d/python/python.pure64.diff
blob: a0d06aac43d867f8dfd1259e22e72ea670dcd6d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -uar Python-2.6.2.orig/Lib/distutils/command/install.py Python-2.6.2/Lib/distutils/command/install.py
--- Python-2.6.2.orig/Lib/distutils/command/install.py	2009-04-29 22:15:21.000000000 +0200
+++ Python-2.6.2/Lib/distutils/command/install.py	2009-04-29 22:14:14.000000000 +0200
@@ -41,14 +41,14 @@
 
 INSTALL_SCHEMES = {
     'unix_prefix': {
-        'purelib': '$base/lib/python$py_version_short/site-packages',
+        'purelib': '$base/lib64/python$py_version_short/site-packages',
         'platlib': '$platbase/lib64/python$py_version_short/site-packages',
         'headers': '$base/include/python$py_version_short/$dist_name',
         'scripts': '$base/bin',
         'data'   : '$base',
         },
     'unix_home': {
-        'purelib': '$base/lib/python',
+        'purelib': '$base/lib64/python',
         'platlib': '$base/lib64/python',
         'headers': '$base/include/python/$dist_name',
         'scripts': '$base/bin',
diff -uar Python-2.6.2.orig/Lib/distutils/sysconfig.py Python-2.6.2/Lib/distutils/sysconfig.py
--- Python-2.6.2.orig/Lib/distutils/sysconfig.py	2009-04-29 22:15:21.000000000 +0200
+++ Python-2.6.2/Lib/distutils/sysconfig.py	2009-04-29 22:14:14.000000000 +0200
@@ -118,7 +118,7 @@
         if plat_specific or standard_lib:
             lib = "lib64"
         else:
-            lib = "lib"
+            lib = "lib64"
         libpython = os.path.join(prefix,
                                  lib, "python" + get_python_version())
         if standard_lib: