[f2py] Compiling hand-written extension modules
Michael P Friedlander
mpf at cs.ubc.ca
Mon Oct 17 00:32:25 EEST 2005
Hi Folks.
I have a hand-written extension module for a Fortran package. This
works great, but the accompanying hand-written makefiles are a
nightmare to maintain. It seems like I should be able to use some
combination of F2PY and scipy_distutils to do all the compilation and
linking automatically.
My first attempt was to use the Extension class in scipy_distutils to
specify the Fortran sources and the Python extension sources (in C).
But scipy_distutils insists on building its own wrappers to the
Fortran subroutines.
Is there a way for me to coax scipy_distutils and F2PY to skip the
extension-creation step, and go ahead with the compilation and linking?
Thanks for the help!
--Michael
More information about the f2py-users
mailing list