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

numpy-svn@scip... numpy-svn@scip...
Sun Sep 23 08:39:26 CDT 2007


Author: pearu
Date: 2007-09-23 08:39:22 -0500 (Sun, 23 Sep 2007)
New Revision: 4100

Modified:
   trunk/numpy/distutils/misc_util.py
Log:
fixing link error: wrong gen_lib_options is being used, may be it is a import problem.

Modified: trunk/numpy/distutils/misc_util.py
===================================================================
--- trunk/numpy/distutils/misc_util.py	2007-09-23 13:36:54 UTC (rev 4099)
+++ trunk/numpy/distutils/misc_util.py	2007-09-23 13:39:22 UTC (rev 4100)
@@ -1513,7 +1513,9 @@
     return target
 
 if sys.version[:3] >= '2.5':
-    from distutils.msvccompiler import get_build_architecture
+    def get_build_architecture():
+        from distutils.msvccompiler import get_build_architecture
+        return get_build_architecture()
 else:
     #copied from python 2.5.1 distutils/msvccompiler.py
     def get_build_architecture():



More information about the Numpy-svn mailing list