summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/build_ext.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/command/build_ext.py')
-rw-r--r--numpy/distutils/command/build_ext.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py
index 68d0aff7f..ea5913a67 100644
--- a/numpy/distutils/command/build_ext.py
+++ b/numpy/distutils/command/build_ext.py
@@ -217,6 +217,11 @@ class build_ext (old_build_ext):
# Build extensions
self.build_extensions()
+ # Make sure that scons based extensions are complete.
+ if self.inplace:
+ self.reinitialize_command('scons', inplace=1)
+ self.run_command('scons')
+
def swig_sources(self, sources):
# Do nothing. Swig sources have beed handled in build_src command.
return sources