[Numpy-svn] [numpy/numpy] e6a1ab: BUG: f2py script shebang may refer to wrong python

GitHub noreply at github.com
Thu May 23 12:18:24 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: e6a1ab9cf306ca34d43b9e196f2573edb0a6c416
      https://github.com/numpy/numpy/commit/e6a1ab9cf306ca34d43b9e196f2573edb0a6c416
  Author: Carwyn Pelley <cpelley.pub at gmail.com>
  Date:   2013-05-23 (Thu, 23 May 2013)

  Changed paths:
    M numpy/f2py/setup.py

  Log Message:
  -----------
  BUG: f2py script shebang may refer to wrong python

The f2py executable has a shebang which uses the default python, rather
than the python it was compiled for.  This causes issues for deployment
of numpy (+f2py) across systems which have different environments.

This fix uses sys.executable to determine the resulting hardcoded
python to use.


  Commit: 8ff5e37bff03925da4c1b121b38188f9fd779b4d
      https://github.com/numpy/numpy/commit/8ff5e37bff03925da4c1b121b38188f9fd779b4d
  Author: njsmith <njs at pobox.com>
  Date:   2013-05-23 (Thu, 23 May 2013)

  Changed paths:
    M numpy/f2py/setup.py

  Log Message:
  -----------
  Merge pull request #3356 from cpelley/f2py_script

f2py executable script shebang


Compare: https://github.com/numpy/numpy/compare/daf4b40e3f2c...8ff5e37bff03


More information about the Numpy-svn mailing list