[SciPy-dev] Combining Numpy/C/fortran ?

Berthold Höllmann berthold@xn--hllmanns-n4a...
Mon Mar 12 16:34:14 CDT 2007

Pierre GM <pgmdevlist@gmail.com> writes:

> On Friday 09 March 2007 06:44:43 John Pye wrote:
>> Maybe this is what you're looking for?
>> http://www.scipy.org/Cookbook/SWIG_and_NumPy
> Almost. I guess that should do the trick as long as I stay on the C side. 
> However, how should I write the setup.py so that the required fortran files 
> are compiled properly ? I haven't been able to find any example...
> And as I'm mixing C and fortran, I have to declare the arrays with 
> an "order='F'", right ?

numpy.distutils support compiling Fortran files from setup.py.


More information about the Scipy-dev mailing list