[Numpy-svn] r5580 - in trunk/numpy: core distutils linalg

numpy-svn@scip... numpy-svn@scip...
Thu Jul 31 11:03:42 CDT 2008


Author: cdavid
Date: 2008-07-31 11:03:32 -0500 (Thu, 31 Jul 2008)
New Revision: 5580

Modified:
   trunk/numpy/core/setupscons.py
   trunk/numpy/distutils/misc_util.py
   trunk/numpy/linalg/setupscons.py
Log:
Remove add_configres function which did nothing...

Modified: trunk/numpy/core/setupscons.py
===================================================================
--- trunk/numpy/core/setupscons.py	2008-07-31 15:18:08 UTC (rev 5579)
+++ trunk/numpy/core/setupscons.py	2008-07-31 16:03:32 UTC (rev 5580)
@@ -81,7 +81,6 @@
         add_numpyconfig_header()
         add_array_api()
         add_ufunc_api()
-        config.add_configres()
 
     config.add_sconscript('SConstruct',
                           post_hook = add_generated_files,

Modified: trunk/numpy/distutils/misc_util.py
===================================================================
--- trunk/numpy/distutils/misc_util.py	2008-07-31 15:18:08 UTC (rev 5579)
+++ trunk/numpy/distutils/misc_util.py	2008-07-31 16:03:32 UTC (rev 5580)
@@ -1229,11 +1229,6 @@
             # options in distutils command.
             self.add_extension('', sources = [])
 
-    def add_configres(self):
-        from numscons import get_scons_configres_dir, get_scons_configres_filename
-        file = os.path.join(get_scons_configres_dir(), self.local_path,
-                            get_scons_configres_filename())
-
     def add_scripts(self,*files):
         """Add scripts to configuration.
         """

Modified: trunk/numpy/linalg/setupscons.py
===================================================================
--- trunk/numpy/linalg/setupscons.py	2008-07-31 15:18:08 UTC (rev 5579)
+++ trunk/numpy/linalg/setupscons.py	2008-07-31 16:03:32 UTC (rev 5580)
@@ -10,8 +10,7 @@
                           source_files = ['lapack_litemodule.c',
                                           'zlapack_lite.c', 'dlapack_lite.c',
                                           'blas_lite.c', 'dlamch.c',
-                                          'f2c_lite.c','f2c.h'],
-                          post_hook = config.add_configres)
+                                          'f2c_lite.c','f2c.h'])
 
     return config
 



More information about the Numpy-svn mailing list