diff options
author | Matthew Brett <matthew.brett@gmail.com> | 2015-05-05 12:06:47 -0700 |
---|---|---|
committer | Matthew Brett <matthew.brett@gmail.com> | 2015-05-05 12:06:47 -0700 |
commit | 2bc2676c8c2f750b61444560c9f7661cb0c15c6a (patch) | |
tree | 856fd2e3ff29def1a5c9fb7108043b834037104f /numpy/f2py/setup.py | |
parent | 09e38f9e2f3a81a9a4c98f36780e791f60c665b1 (diff) | |
download | numpy-2bc2676c8c2f750b61444560c9f7661cb0c15c6a.tar.gz |
BUG: revert use of !python for bdist_mpkg scripts
bdist_mpkg is a very crude install method that will assume the path to
Python, so we should not use the `#!python` form when installing scripts
in bdist_mpkg.
Diffstat (limited to 'numpy/f2py/setup.py')
-rw-r--r-- | numpy/f2py/setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/setup.py b/numpy/f2py/setup.py index 9f6e47c1c..656013fad 100644 --- a/numpy/f2py/setup.py +++ b/numpy/f2py/setup.py @@ -37,7 +37,7 @@ def _get_f2py_shebang(): should be ``#!python`` rather than ``#!`` followed by the contents of ``sys.executable``. """ - if set(('bdist_wheel', 'bdist_egg', 'bdist_mpkg', 'bdist_wininst', + if set(('bdist_wheel', 'bdist_egg', 'bdist_wininst', 'bdist_rpm')).intersection(sys.argv): return '#!python' return '#!' + sys.executable |