Make numpy.distutils recognize Fortran 2003 and Fortran 2008 files
See original GitHub issueNumPy build utils does not know what to do with .f03
and .f08
files. This makes it difficult to compile a library written in Fortran 2003 or 2008.
Fortran 2003 is e.g. useful if we want to make a C callable library without depending on an ABI wrapper. A typical usecase is calling Fortran from Cython, which is more flexible and efficient than using f2py.
f2py does not parse Fortran 2003. But that is not a problem if we just want to use configuration.add_library
, and not configuration.add_extension
(which will invoke f2py).
Issue Analytics
- State:
- Created 9 years ago
- Comments:23 (19 by maintainers)
Top Results From Across the Web
Fortran extensions and setup.py - Google Groups
Hi, I am creating Cython extension to a FORTRAN library. I do follow advice from www.fortran90.org, that is write an interface using iso_c_binding....
Read more >Numpy distutils not recognizing Fortran file types
The issue lies in trying to use setuptools.setup with numpy.disutils.core.Extension . The numpy version of Extension contains additional ...
Read more >Packaging (numpy.distutils) — NumPy v1.23 Manual
NumPy provides enhanced distutils functionality to make it easier to build and install sub-packages, auto-generate code, and extension modules that use ...
Read more >F2py — Python-Fortran notebooks - Pierre Navaro
F2py is a part of Numpy and there are three ways to wrap Fortran with Python : Write some fortran subroutines and just...
Read more >F2PY: A tool for connecting Fortran and Python programs
Fortran 77, Fortran 90, Fortran 95, and Fortran 2003 ... to create a tool-dependent specification file containing.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d also say it’s very low-prio either way, because there’s a good chance we’re moving away from
numpy.distutils
completely.Closing due to
np.distutils
deprecation.