summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-08-23 10:33:34 -0600
committerCharles Harris <charlesr.harris@gmail.com>2018-08-23 13:51:42 -0600
commitec7c846cf111114a28e9993fb9335f3c63c97fc7 (patch)
tree64f8bff00b2f5b8b33b6e44f469e5f221f4a262a
parentf22a33b71dc767d81ed60f40c3b84456d2a33f79 (diff)
downloadnumpy-ec7c846cf111114a28e9993fb9335f3c63c97fc7.tar.gz
DOC: Note f2py script extension change on Windows.
Using console_scripts changes the type of the f2py script on Windows from `*.py` to `*.exe`, so the script can no longer be executed as a python script. This is a compatibility break and needs mentioning in the release notes.
-rw-r--r--doc/release/1.16.0-notes.rst10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/release/1.16.0-notes.rst b/doc/release/1.16.0-notes.rst
index d11eed2d2..03f4e8479 100644
--- a/doc/release/1.16.0-notes.rst
+++ b/doc/release/1.16.0-notes.rst
@@ -18,7 +18,7 @@ Deprecations
--------------------------------------------
The type dictionaries `numpy.core.typeNA` and `numpy.core.sctypeNA` were buggy
-and not documented. They will be removed in the 1.18 release. Use
+and not documented. They will be removed in the 1.18 release. Use
`numpy.sctypeDict` instead.
@@ -34,6 +34,14 @@ Future Changes
Compatibility notes
===================
+f2py script on Windows
+----------------------
+On Windows, the installed script for running f2py is now an ``.exe`` file
+rather than a ``*.py`` file and should be run from the command line as ``f2py``
+whenever the ``Scripts`` directory is in the path. Folks needing compatibility
+with earler versions of Numpy should run ``f2py`` as a module: ``python -m
+numpy.f2py [...]``.
+
C API changes
=============