8000 MRG: preparing for 1.9.4 release by matthew-brett · Pull Request #6350 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

MRG: preparing for 1.9.4 release #6350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 11, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ENH: add bdist_mpkg, bdist_wininst to binary dists
Add other binary distribution formats to list of build commands that
should generate !python shebang lines.
  • Loading branch information
matthew-brett committed Sep 24, 2015
commit fc4904c3fd8ee540225843cc177259a204ad1db7
5 changes: 3 additions & 2 deletions numpy/f2py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@
def _get_f2py_shebang():
""" Return shebang line for f2py script

If we are building an egg or a wheel binary package, then the shebang line
If we are building a binary distribution format, then the shebang line
should be ``#!python`` rather than ``#!`` followed by the contents of
``sys.executable``.
"""
if set(('bdist_wheel', 'bdist_egg')).intersection(sys.argv):
if set(('bdist_wheel', 'bdist_egg', 'bdist_mpkg', 'bdist_wininst',
'bdist_rpm')).intersection(sys.argv):
return '#!python'
return '#!' + sys.executable

Expand Down
0