summaryrefslogtreecommitdiff
path: root/numpy/doc/basics.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-08-22 11:57:48 -0600
committerCharles Harris <charlesr.harris@gmail.com>2018-08-23 13:51:42 -0600
commitf22a33b71dc767d81ed60f40c3b84456d2a33f79 (patch)
treebc0c5b82c765cca7fd5272a1fc45e100d2cc8f12 /numpy/doc/basics.py
parentd0a0e38815206ee72413942af7f1241e85ec8051 (diff)
downloadnumpy-f22a33b71dc767d81ed60f40c3b84456d2a33f79.tar.gz
ENH: Use entry_points to install the f2py scripts.
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.
Diffstat (limited to 'numpy/doc/basics.py')
0 files changed, 0 insertions, 0 deletions