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

numpy-svn@scip... numpy-svn@scip...
Mon Nov 19 22:54:18 CST 2007


Author: cdavid
Date: 2007-11-19 22:54:13 -0600 (Mon, 19 Nov 2007)
New Revision: 4470

Modified:
   branches/numpy.scons/numpy/distutils/scons/tools/f2py.py
Log:
Support f2py options in f2py tool

Modified: branches/numpy.scons/numpy/distutils/scons/tools/f2py.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/tools/f2py.py	2007-11-19 10:30:54 UTC (rev 4469)
+++ branches/numpy.scons/numpy/distutils/scons/tools/f2py.py	2007-11-20 04:54:13 UTC (rev 4470)
@@ -82,7 +82,7 @@
     #print "ST is %s" % st
     try:
         #print " STARTING %s" % basename
-        st = numpy.f2py.run_main([source_file_names[0], '--build-dir', build_dir])
+        st = numpy.f2py.run_main(env['F2PYOPTIONS'] + [source_file_names[0], '--build-dir', build_dir])
         if not os.path.exists(wrapper):
             #print "++++++++++++++++++++++++++++++++"
             f = open(wrapper, 'w')



More information about the Numpy-svn mailing list