[Scipy-svn] r5399 - trunk/scipy/weave

scipy-svn@scip... scipy-svn@scip...
Thu Jan 8 08:59:00 CST 2009


Author: cdavid
Date: 2009-01-08 08:58:57 -0600 (Thu, 08 Jan 2009)
New Revision: 5399

Modified:
   trunk/scipy/weave/build_tools.py
Log:
Backport a couple of trivial fixes from 0.7.x (5397:5398).

Modified: trunk/scipy/weave/build_tools.py
===================================================================
--- trunk/scipy/weave/build_tools.py	2009-01-08 14:52:42 UTC (rev 5398)
+++ trunk/scipy/weave/build_tools.py	2009-01-08 14:58:57 UTC (rev 5399)
@@ -355,7 +355,7 @@
         # the path variable. and will occasionlly mess things up
         # so much that gcc is lost in the path. (Occurs in test
         # scripts)
-        result = not os.system(cmd)
+        result = not os.system(" ".join(cmd))
     return result
 
 def msvc_exists():
@@ -372,7 +372,7 @@
     except:
         #assume we're ok if devstudio exists
         import distutils.msvccompiler
-        version = distutils.msvccompiler.get_devstudio_version()
+        version = distutils.msvccompiler.get_build_version()
         if version:
             result = 1
     return result



More information about the Scipy-svn mailing list