diff options
author | Robert Kern <robert.kern@gmail.com> | 2007-04-15 04:38:59 +0000 |
---|---|---|
committer | Robert Kern <robert.kern@gmail.com> | 2007-04-15 04:38:59 +0000 |
commit | e7172c9ba8240ef8c66d872143079f2165620a48 (patch) | |
tree | 170b882c6952d0df4564fcf6a2198f6f779d3bc8 | |
parent | 07602526373e88d933df6f57c5fb95a1f58317f5 (diff) | |
download | numpy-e7172c9ba8240ef8c66d872143079f2165620a48.tar.gz |
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.
-rw-r--r-- | numpy/distutils/command/build_ext.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py index 5a5553820..0e804e19e 100644 --- a/numpy/distutils/command/build_ext.py +++ b/numpy/distutils/command/build_ext.py @@ -47,11 +47,10 @@ class build_ext (old_build_ext): 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: |