[Numpy-svn] r4753 - branches/build_with_scons/numpy/distutils/command

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Jan 25 01:51:40 EST 2008


Author: cdavid
Date: 2008-01-25 00:51:35 -0600 (Fri, 25 Jan 2008)
New Revision: 4753

Modified:
   branches/build_with_scons/numpy/distutils/command/build.py
Log:
Make distutils command build run scons command

Modified: branches/build_with_scons/numpy/distutils/command/build.py
===================================================================
--- branches/build_with_scons/numpy/distutils/command/build.py	2008-01-25 04:21:51 UTC (rev 4752)
+++ branches/build_with_scons/numpy/distutils/command/build.py	2008-01-25 06:51:35 UTC (rev 4753)
@@ -32,3 +32,9 @@
         if build_scripts is None:
             self.build_scripts = os.path.join(self.build_base,
                                               'scripts' + plat_specifier)
+
+    def run(self):
+        # Make sure that scons based extensions are complete.
+        self.run_command('scons')
+
+        old_build.run(self)




More information about the Numpy-svn mailing list