[Numpy-discussion] f2py, numpy.distutils and multiple Fortran source files

Sturla Molden sturla.molden at gmail.com
Fri Dec 4 05:34:07 EST 2015


On 03/12/15 22:07, David Verelst wrote:

> Can this workflow be incorporated into |setuptools|/|numpy.distutils|?
> Something along the lines as:

Take a look at what SciPy does.

https://github.com/scipy/scipy/blob/81c096001974f0b5efe29ec83b54f725cc681540/scipy/fftpack/setup.py

Multiple Fortran files are compiled into a static library using 
"add_library", which is subsequently linked to the extension module.


Sturla




More information about the NumPy-Discussion mailing list