[f2py] Draft: F2PY Users Guide and Reference Manual

Pearu Peterson pearu@cens.ioc.ee
Fri, 6 Dec 2002 15:32:05 +0200 (EET)


On Fri, 6 Dec 2002, Roman Bertle wrote:

> >> 1.) In the draft, f2py is always used either with the -h or with the -c
> >> switch. Is there any sense using f2py without any option,
> >> i.e "f2py foo.pyf foo.f"?
> >
> >Yes, there is. Without -c and -h switch f2py just generates the
> >source file <modulename>module.c to the current directory.
> 
> But I think the average user usually does not fiddle with
> <modulename>module.c, and will use f2py always with -c or -h, am I
> right?

Yes. That's true. In the early days of F2PY the main task for it was to
generate <modulename>module.c. Currently generating <modulename>module.c
is only useful when debugging, or when one wants to use other building 
tools (make, scons, jam,etc.) than scipy_distutils.

So, do you have any suggestions regarding -c and -h switches?

Pearu