[Scipy-svn] r5406 - trunk/scipy/weave
scipy-svn at scipy.org
scipy-svn at scipy.org
Thu Jan 8 13:21:14 EST 2009
Author: cdavid
Date: 2009-01-08 12:21:08 -0600 (Thu, 08 Jan 2009)
New Revision: 5406
Modified:
trunk/scipy/weave/build_tools.py
Log:
Merge back fixed weave problem when VS 2003 is installed.
Modified: trunk/scipy/weave/build_tools.py
===================================================================
--- trunk/scipy/weave/build_tools.py 2009-01-08 18:17:51 UTC (rev 5405)
+++ trunk/scipy/weave/build_tools.py 2009-01-08 18:21:08 UTC (rev 5406)
@@ -373,10 +373,14 @@
#assume we're ok if devstudio exists
import distutils.msvccompiler
try:
- distutils.msvccompiler.MSVCCompiler().initialize
+ cc = distutils.msvccompiler.MSVCCompiler()
+ cc.initialize()
+ p = subprocess.Popen([cc.cc])
result = 1
except distutils.errors.DistutilsPlatformError:
pass
+ except WindowsError:
+ pass
return result
if os.name == 'nt':
More information about the Scipy-svn
mailing list