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

Pierre GM pgmdevlist@gmail....
Fri Mar 9 06:24:45 CST 2007


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 ?


More information about the Scipy-dev mailing list