Re: [f2py] only|skip option

Pearu Peterson <[email protected]> Wed, 27 Oct 2010 09:24:22 +0300
Newsgroups gmane.comp.python.f2py.user
Message-ID <[email protected]>
Hi,

On 10/27/2010 08:23 AM, Xavier Barthelemy wrote:
> Greetings everyone
>
>
> I have a fortran file with a bunch of subroutine, and I just need to
> wrap a few of them. i read that we have the only option. but between
> the man page and the user guide they give you a different way to use
> it
>
> in man page: f2py -c -m Totomodule [[only:]toto subroutine][:fortranfile]
> in the user manual f2py c -m Totomodule  [[only: toto subroutine:]][fortranfile]
> well I have tried both of them and an amazing different number of
> combinations. I really can't figure out how.
 >
> and what if I want to wrap just 2 subroutine, say toto1 and toto2 ?

Use:

f2py c -m Totomodule  only: toto1 toto2 : fortranfile

HTH,
Pearu

> Would you be able to answer, dear f2py users
> thanks
> Xavier
>
> _______________________________________________
> f2py-users mailing list
> f2py-users-Y4l6ocDipWCuvFJfX82//[email protected]
> http://cens.ioc.ee/mailman/listinfo/f2py-users