[Numpy-svn] r3715 - trunk/numpy/distutils/command

numpy-svn@scip... numpy-svn@scip...
Sat Apr 14 23:39:02 CDT 2007


Author: rkern
Date: 2007-04-14 23:38:59 -0500 (Sat, 14 Apr 2007)
New Revision: 3715

Modified:
   trunk/numpy/distutils/command/build_ext.py
Log:
Fix command dependencies for build_ext. This should fix a number of problems where the full 'build_src build_clib build_ext' chain of commands needed to be specified.

Modified: trunk/numpy/distutils/command/build_ext.py
===================================================================
--- trunk/numpy/distutils/command/build_ext.py	2007-04-13 20:44:24 UTC (rev 3714)
+++ trunk/numpy/distutils/command/build_ext.py	2007-04-15 04:38:59 UTC (rev 3715)
@@ -47,11 +47,10 @@
             return
 
         # Make sure that extension sources are complete.
-        for ext in self.extensions:
-            if not all_strings(ext.sources):
-                self.run_command('build_src')
+        self.run_command('build_src')
 
         if self.distribution.has_c_libraries():
+            self.run_command('build_clib')
             build_clib = self.get_finalized_command('build_clib')
             self.library_dirs.append(build_clib.build_clib)
         else:



More information about the Numpy-svn mailing list