[f2py] f2py extensions using setuptools
robert.kern at gmail.com
Mon Jul 10 21:34:24 EEST 2006
listservs at mac.com wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Is there any documentation on building f2py extensions using setuptools?
> I am trying to put together binaries for a package that uses f2py using
> setuptools, but the extensions dont seem to work. The do not seem to
> recognize fortran files.
You will have to use numpy.distutils; nothing else gives distutils the
capability to compile Fortran. It works just fine with setuptools, though. Just
import setuptools before you import stuff from numpy.distutils, and most things
should work fine.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the f2py-users