summaryrefslogtreecommitdiff
path: root/numpy/array_api
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2019-12-14 15:31:50 +0200
committerPauli Virtanen <pav@iki.fi>2019-12-14 17:09:06 +0200
commit5a4f62bbf7622530e2a43d1859ae496537e9f0f0 (patch)
tree12bab1afefe906e715991df5a94786e478d27954 /numpy/array_api
parentb6f91207549fc97765c114c0c01625eaa5e58956 (diff)
downloadnumpy-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