Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MAINT: Remove unnecessary 'from __future__ import ...' statements | Jon Dufresne | 2020-01-03 | 1 | -2/+0 |
| | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior. | ||||
* | BUG: fix f2py pep338 execution method | Julian Taylor | 2018-12-17 | 1 | -1/+1 |
| | | | | Closes gh-12576 | ||||
* | ENH: Use entry_points to install the f2py scripts. | Charles Harris | 2018-08-23 | 1 | -23/+2 |
| | | | | | | | | | | | | | | | | | | | | | This adds entry_points for the f2py scripts. The installed scripts differ between Windows and other environments. * On Windows, the only script installed is 'f2py'. This works well in that environment because each Python version is installed in its own directory, making it easy to keep the differing script versions separate. * Otherwise, three scripts are installed, 'f2py', 'f2py' + 'minor', and 'f2py' + 'major.minor'. For instance, if Numpy is installed by Python 2.7, then the installed scripts will be named 'f2py', 'f2py2', and 'f2py2.7'. That naming scheme is used for back compatibility, and also so that more than one Python version can be dealt with in a way common to many Linux distros. Note that 'f2py' will always point to the latest install and 'f2py(2|3)' to the latest Python (2|3) install The script tests have been modified to check for the new environment and the code previously used to install the scripts has been removed. | ||||
* | MAINT: Include from __future__ boilerplate in some files missing it. | Charles Harris | 2015-12-05 | 1 | -0/+2 |
| | | | | | Some newer *.py files are missing the `from __future__` boilerplate that helps assure Python2 and Python3 compatibility. | ||||
* | STY: Make PEP8 fixes in numpy/f2py | Charles Harris | 2015-07-25 | 1 | -8/+10 |
| | | | | | Decided to bite the bullet on this one. The code is certainly more readable, so should be easier to fix if we need to. | ||||
* | ENH: make f2py an executable module | Julian Taylor | 2015-03-08 | 1 | -0/+23 |
allows pep 338 execution via python -mnumpy.f2py |