[Numpy-svn] r3903 - trunk/numpy/distutils/fcompiler

numpy-svn@scip... numpy-svn@scip...
Fri Jul 27 04:20:14 CDT 2007


Author: pearu
Date: 2007-07-27 04:20:08 -0500 (Fri, 27 Jul 2007)
New Revision: 3903

Modified:
   trunk/numpy/distutils/fcompiler/compaq.py
Log:
Trying to fix Windows XP x86_64 MSVC build.

Modified: trunk/numpy/distutils/fcompiler/compaq.py
===================================================================
--- trunk/numpy/distutils/fcompiler/compaq.py	2007-07-27 09:02:31 UTC (rev 3902)
+++ trunk/numpy/distutils/fcompiler/compaq.py	2007-07-27 09:20:08 UTC (rev 3903)
@@ -79,7 +79,12 @@
             m.initialize()
             ar_exe = m.lib
         except DistutilsPlatformError, msg:
-            print 'Ignoring %s (one should fix me in fcompiler/compaq.py)' % (msg)
+            print 'Ignoring "%s" (one should fix me in fcompiler/compaq.py)' % (msg)
+        except AttributeError, msg:
+            if '_MSVCCompiler__root' in str(msg):
+                print 'Ignoring "%s" (I think it is msvccompiler.py bug)' % (msg)
+            else:
+                raise
 
     executables = {
         'version_cmd'  : ['<F90>', "/what"],



More information about the Numpy-svn mailing list