[Numpy-svn] r4484 - branches/numpy.scons/numpy/distutils/scons/tools

numpy-svn@scip... numpy-svn@scip...
Wed Nov 21 21:19:07 CST 2007


Author: cdavid
Date: 2007-11-21 21:19:02 -0600 (Wed, 21 Nov 2007)
New Revision: 4484

Modified:
   branches/numpy.scons/numpy/distutils/scons/tools/f2py.py
Log:
Change F2PY builder to F2py to stay consistent with scons convention

Modified: branches/numpy.scons/numpy/distutils/scons/tools/f2py.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/tools/f2py.py	2007-11-21 11:31:17 UTC (rev 4483)
+++ branches/numpy.scons/numpy/distutils/scons/tools/f2py.py	2007-11-22 03:19:02 UTC (rev 4484)
@@ -45,8 +45,6 @@
     return os.path.splitext(source_file)[1] == '.pyf'
 
 def _pyf2c(target, source, env):
-    from SCons.Script import Touch
-    from threading import Lock
     import numpy.f2py
     import shutil
 
@@ -118,7 +116,7 @@
     scanner = SCons.Scanner.ClassicCPP("F2PYScan", ".pyf", "F2PYPATH", expr)
     env.Append(SCANNERS = scanner)
 
-    env['BUILDERS']['F2PY'] = SCons.Builder.Builder(action = _pyf2c, 
+    env['BUILDERS']['F2py'] = SCons.Builder.Builder(action = _pyf2c, 
                                                     emitter = _f2pyEmitter,
                                                     suffix = _f2pySuffixEmitter)
 



More information about the Numpy-svn mailing list