[Numpy-svn] r4685 - branches/build_with_scons/numpy/distutils

numpy-svn@scip... numpy-svn@scip...
Sun Jan 6 04:43:08 CST 2008


Author: cdavid
Date: 2008-01-06 04:43:05 -0600 (Sun, 06 Jan 2008)
New Revision: 4685

Modified:
   branches/build_with_scons/numpy/distutils/misc_util.py
Log:

Add scons_make_config function to numpy distutils Configuration.



Modified: branches/build_with_scons/numpy/distutils/misc_util.py
===================================================================
--- branches/build_with_scons/numpy/distutils/misc_util.py	2008-01-06 10:42:26 UTC (rev 4684)
+++ branches/build_with_scons/numpy/distutils/misc_util.py	2008-01-06 10:43:05 UTC (rev 4685)
@@ -1441,6 +1441,12 @@
         """
         self.py_modules.append((self.name,name,generate_config_py))
 
+    def scons_make_config_py(self, name = '__config__'):
+        """Generate package __config__.py file containing system_info
+        information used during building the package.
+        """
+        self.py_modules.append((self.name, name, scons_generate_config_py))
+
     def get_info(self,*names):
         """Get resources information.
         """



More information about the Numpy-svn mailing list