[Numpy-svn] r6312 - trunk/numpy/distutils

numpy-svn@scip... numpy-svn@scip...
Fri Jan 9 04:02:10 CST 2009


Author: jarrod.millman
Date: 2009-01-09 04:02:09 -0600 (Fri, 09 Jan 2009)
New Revision: 6312

Modified:
   trunk/numpy/distutils/system_info.py
Log:
switch the order [lib,lib64] --> [lib64,lib] 


Modified: trunk/numpy/distutils/system_info.py
===================================================================
--- trunk/numpy/distutils/system_info.py	2009-01-09 09:57:15 UTC (rev 6311)
+++ trunk/numpy/distutils/system_info.py	2009-01-09 10:02:09 UTC (rev 6312)
@@ -154,10 +154,10 @@
     >>> libpaths(paths,32)
     ['/usr/X11R6/lib', '/usr/X11/lib', '/usr/lib']
 
-    On 64 bits, we append the '64' postfix
+    On 64 bits, we prepend the '64' postfix
     >>> libpaths(paths,64)
-    ['/usr/X11R6/lib', '/usr/X11R6/lib64', '/usr/X11/lib', '/usr/X11/lib64',
-    '/usr/lib', '/usr/lib64']
+    ['/usr/X11R6/lib64', '/usr/X11R6/lib', '/usr/X11/lib64', '/usr/X11/lib',
+    '/usr/lib64', '/usr/lib']
     """
     if bits not in (32, 64):
         raise ValueError("Invalid bit size in libpaths: 32 or 64 only")
@@ -169,7 +169,7 @@
     # Handle 64bit case
     out = []
     for p in paths:
-        out.extend([p, p+bits])
+        out.extend([p+bits, p])
 
     return out
 



More information about the Numpy-svn mailing list