diff options
author | Robert Kern <robert.kern@gmail.com> | 2007-12-12 23:59:59 +0000 |
---|---|---|
committer | Robert Kern <robert.kern@gmail.com> | 2007-12-12 23:59:59 +0000 |
commit | 8e6f0852f2bd3c920edd67cc33316d84dda71376 (patch) | |
tree | dd49f983f8ab9f682cb6cdced6e003b3b34f395a /numpy/distutils/command/develop.py | |
parent | ec1b78909b4526c3b90ad42182a2d692c4ef8bb1 (diff) | |
download | numpy-8e6f0852f2bd3c920edd67cc33316d84dda71376.tar.gz |
Make sure the develop command can handle generated script files.
Diffstat (limited to 'numpy/distutils/command/develop.py')
-rw-r--r-- | numpy/distutils/command/develop.py | 7 |
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) |