[Numpy-svn] [numpy/numpy] 504740: ENH: make f2py an executable module

GitHub noreply at github.com
Thu Dec 10 19:24:12 EST 2015


  Branch: refs/heads/maintenance/1.9.x
  Home:   https://github.com/numpy/numpy
  Commit: 5047404e8b2bbd7d826861073736662671b0271f
      https://github.com/numpy/numpy/commit/5047404e8b2bbd7d826861073736662671b0271f
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    A numpy/f2py/__main__.py
    M numpy/f2py/setup.py

  Log Message:
  -----------
  ENH: make f2py an executable module

allows pep 338 execution via python -mnumpy.f2py


  Commit: 7c20ee5aa225308e4dc5b126a566ece126c73515
      https://github.com/numpy/numpy/commit/7c20ee5aa225308e4dc5b126a566ece126c73515
  Author: Matthew Brett <matthew.brett at gmail.com>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M numpy/f2py/setup.py

  Log Message:
  -----------
  BUG: fix f2py shebang line for bdist wheel, egg

Command `bdist_wheel` was generating a shebang line for f2py that uses
the Python path for the building Python.  If we are building a wheel or
an egg, use the generic `#!python` shebang line for the f2py script
instead, which setuptools will modify at install time.

Closes gh-5812.


  Commit: fc4904c3fd8ee540225843cc177259a204ad1db7
      https://github.com/numpy/numpy/commit/fc4904c3fd8ee540225843cc177259a204ad1db7
  Author: Matthew Brett <matthew.brett at gmail.com>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M numpy/f2py/setup.py

  Log Message:
  -----------
  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.


  Commit: 96ed3d2b20c5fdab135c42e7bd45d8bd3df26f3b
      https://github.com/numpy/numpy/commit/96ed3d2b20c5fdab135c42e7bd45d8bd3df26f3b
  Author: Matthew Brett <matthew.brett at gmail.com>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M numpy/f2py/setup.py

  Log Message:
  -----------
  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.


  Commit: b064e4b4cb3f8d571605ee8a7f53c9ce2d5df879
      https://github.com/numpy/numpy/commit/b064e4b4cb3f8d571605ee8a7f53c9ce2d5df879
  Author: Matthew Brett <matthew.brett at gmail.com>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M .travis.yml
    A numpy/tests/test_scripts.py
    M tools/travis-test.sh

  Log Message:
  -----------
  TEST: add module to test installed scripts

Module tests whether we can run f2py and return correct version.

Skip this test when running in-place (we don't install f2py in that
case).

Use our own virtualenvs in travis-ci to avoid picking up travis' numpy.


  Commit: c2b6ab9924271b96d3c783f7818723a1bb8f511a
      https://github.com/numpy/numpy/commit/c2b6ab9924271b96d3c783f7818723a1bb8f511a
  Author: Matthew Brett <matthew.brett at gmail.com>
  Date:   2015-12-10 (Thu, 10 Dec 2015)

  Changed paths:
    M .travis.yml
    A numpy/f2py/__main__.py
    M numpy/f2py/setup.py
    A numpy/tests/test_scripts.py
    M tools/travis-test.sh

  Log Message:
  -----------
  Merge pull request #6350 from matthew-brett/prepare-1.9.4

MRG: preparing for potential 1.9.4 release

Fix f2py shebang line error for wheel installs.


Compare: https://github.com/numpy/numpy/compare/edb902cdc657...c2b6ab992427


More information about the Numpy-svn mailing list