[f2py] Compiling hand-written extension modules
Michael P Friedlander
mpf at cs.ubc.ca
Mon Oct 17 00:32:25 EEST 2005
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
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
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!
More information about the f2py-users