summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/install.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2009-11-12 20:55:40 +0000
committerPauli Virtanen <pav@iki.fi>2009-11-12 20:55:40 +0000
commit3122ee546fc0617e195aeb288abe65b9ae95d983 (patch)
tree718428188769a83c5716f029ad464356b44cb7ae /numpy/distutils/command/install.py
parentafbe79aee518504547014c9c657e9ac1098ab6b4 (diff)
downloadnumpy-3122ee546fc0617e195aeb288abe65b9ae95d983.tar.gz
BUG: setuptools does not run install_clib automatically -- run it manually in install_data, if setuptools is present (fix #1194)
Diffstat (limited to 'numpy/distutils/command/install.py')
-rw-r--r--numpy/distutils/command/install.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/numpy/distutils/command/install.py b/numpy/distutils/command/install.py
index 099ad5c16..ad3cc507d 100644
--- a/numpy/distutils/command/install.py
+++ b/numpy/distutils/command/install.py
@@ -10,8 +10,11 @@ from distutils.file_util import write_file
class install(old_install):
- # Always run install_clib - the command is cheap, so no need to bypass it
- sub_commands = old_install.sub_commands + [('install_clib', lambda x: True)]
+ # Always run install_clib - the command is cheap, so no need to bypass it;
+ # but it's not run by setuptools -- so it's run again in install_data
+ sub_commands = old_install.sub_commands + [
+ ('install_clib', lambda x: True)
+ ]
def finalize_options (self):
old_install.finalize_options(self)