summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-01-25 06:51:35 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-01-25 06:51:35 +0000
commit230b4b692503347747d898cd082f69f52de14555 (patch)
tree7be0ac0305b003b4fa7fb62bfd13c73422143d64 /numpy
parent7bce5e9ecaeec970396713d0418f8a083a46a19a (diff)
downloadnumpy-230b4b692503347747d898cd082f69f52de14555.tar.gz
Make distutils command build run scons command
Diffstat (limited to 'numpy')
-rw-r--r--numpy/distutils/command/build.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/distutils/command/build.py b/numpy/distutils/command/build.py
index 1f5c08205..2f5dc31ab 100644
--- a/numpy/distutils/command/build.py
+++ b/numpy/distutils/command/build.py
@@ -32,3 +32,9 @@ class build(old_build):
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)