[Numpy-svn] r4675 - branches/distutils_scons_command/numpy/distutils

numpy-svn@scip... numpy-svn@scip...
Sun Jan 6 03:28:40 CST 2008


Author: cdavid
Date: 2008-01-06 03:28:27 -0600 (Sun, 06 Jan 2008)
New Revision: 4675

Modified:
   branches/distutils_scons_command/numpy/distutils/misc_util.py
Log:
Add scons_make_config function to numpy distutils Configuration

Modified: branches/distutils_scons_command/numpy/distutils/misc_util.py
===================================================================
--- branches/distutils_scons_command/numpy/distutils/misc_util.py	2008-01-05 18:44:28 UTC (rev 4674)
+++ branches/distutils_scons_command/numpy/distutils/misc_util.py	2008-01-06 09:28:27 UTC (rev 4675)
@@ -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