Changeset 3715

Show
Ignore:
Timestamp:
04/14/07 23:38:59 (2 years ago)
Author:
rkern
Message:

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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/numpy/distutils/command/build_ext.py

    r3430 r3715  
    4848 
    4949        # Make sure that extension sources are complete. 
    50         for ext in self.extensions: 
    51             if not all_strings(ext.sources): 
    52                 self.run_command('build_src') 
     50        self.run_command('build_src') 
    5351 
    5452        if self.distribution.has_c_libraries(): 
     53            self.run_command('build_clib') 
    5554            build_clib = self.get_finalized_command('build_clib') 
    5655            self.library_dirs.append(build_clib.build_clib)