[SciPy-user] Wrapping C libraries for Numeric integration

Pearu Peterson pearu at scipy.org
Tue Feb 7 15:09:51 CST 2006



On Tue, 7 Feb 2006, Robert Hetland wrote:

>
> Here is the relevant information:
>
> Mac OS X 10.4.4, gcc, g77,  numpy.__version__ =  '0.9.5.2044'
>
> $ ls
> foo.c  m.pyf  setup.py
> $ python setup.py build_src build_ext --inplace > build.out
> $ cat build.out
> running build_src
> building extension "m" sources
> f2py options: []
> f2py: ./m.pyf
> Reading fortran codes...
>         Reading file './m.pyf' (format:free)
> {'this': 'intent', 'after': '(c)                      ', 'before': ''}
> Line #5 in ./m.pyf:"     intent(c)                      "

Remove all spaces after

   intent(c)

statement.

It looks like a silly bug in f2py and I'll look into fixing it.

Pearu



More information about the SciPy-user mailing list