diff options
author | Pauli Virtanen <pav@iki.fi> | 2019-12-14 15:31:50 +0200 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2019-12-14 17:09:06 +0200 |
commit | 5a4f62bbf7622530e2a43d1859ae496537e9f0f0 (patch) | |
tree | 12bab1afefe906e715991df5a94786e478d27954 /numpy/array_api | |
parent | b6f91207549fc97765c114c0c01625eaa5e58956 (diff) | |
download | numpy-5a4f62bbf7622530e2a43d1859ae496537e9f0f0.tar.gz |
ENH: f2py: add --f2cmap option for specifying the name of .f2py_f2cmap
Previously, f2py loaded the type mappings from a file ``.f2py_f2cmap``
in current directory, at import time.
Make the file name customizable by adding a ``--f2cmap`` command line
option, and postpone loading the file to f2py.run_main().
Moreover, restore the default type mapping in f2py.run_main() before
loading the customizations, so that multiple calls to f2py.run_main() do
not interfere with each other. (For example, numpy.distutils calls f2py
multiple times in the same process.)
Diffstat (limited to 'numpy/array_api')
0 files changed, 0 insertions, 0 deletions