summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/build_scripts.py
diff options
context:
space:
mode:
authorRobert Kern <robert.kern@gmail.com>2007-12-12 23:59:59 +0000
committerRobert Kern <robert.kern@gmail.com>2007-12-12 23:59:59 +0000
commit8e6f0852f2bd3c920edd67cc33316d84dda71376 (patch)
treedd49f983f8ab9f682cb6cdced6e003b3b34f395a /numpy/distutils/command/build_scripts.py
parentec1b78909b4526c3b90ad42182a2d692c4ef8bb1 (diff)
downloadnumpy-8e6f0852f2bd3c920edd67cc33316d84dda71376.tar.gz
Make sure the develop command can handle generated script files.
Diffstat (limited to 'numpy/distutils/command/build_scripts.py')
-rw-r--r--numpy/distutils/command/build_scripts.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/distutils/command/build_scripts.py b/numpy/distutils/command/build_scripts.py
index 1217a2c1f..99134f202 100644
--- a/numpy/distutils/command/build_scripts.py
+++ b/numpy/distutils/command/build_scripts.py
@@ -37,6 +37,10 @@ class build_scripts(old_build_scripts):
return
self.scripts = self.generate_scripts(self.scripts)
+ # Now make sure that the distribution object has this list of scripts.
+ # setuptools' develop command requires that this be a list of filenames,
+ # not functions.
+ self.distribution.scripts = self.scripts
return old_build_scripts.run(self)