[Numpy-discussion] distributing pre-compiled f2py extensions on OSX
Sat Feb 25 16:38:47 CST 2012
On Sat, Feb 25, 2012 at 9:29 PM, Mark Bakker <email@example.com> wrote:
> Thanks for the reply, Ralf.
> Can you point me a bit in the right direction.
> Scipy is pretty big.
All Fortran sources in Scipy are wrapped with f2py, and can be compiled
with gfortran the way you want. As a simple example, have a look at
integrate/setup.py to see how the extension "dop" is compiled. You can
probably just use a similar config.add_library() call. If you only need the
exact compile arguments, just compile scipy and get them from the build log.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion