summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/develop.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/command/develop.py')
-rw-r--r--numpy/distutils/command/develop.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/numpy/distutils/command/develop.py b/numpy/distutils/command/develop.py
index dddf03be6..167706671 100644
--- a/numpy/distutils/command/develop.py
+++ b/numpy/distutils/command/develop.py
@@ -1,5 +1,6 @@
-""" Override the develop command from setuptools so we can ensure that build_src
---inplace gets executed.
+""" Override the develop command from setuptools so we can ensure that our
+generated files (from build_src or build_scripts) are properly converted to real
+files with filenames.
"""
from setuptools.command.develop import develop as old_develop
@@ -9,4 +10,6 @@ class develop(old_develop):
def install_for_development(self):
# Build sources in-place, too.
self.reinitialize_command('build_src', inplace=1)
+ # Make sure scripts are built.
+ self.run_command('build_scripts')
old_develop.install_for_development(self)