module documentation

f2py2e - Fortran to Python C/API generator. 2nd Edition.
See __usage__ below.

Copyright 1999--2011 Pearu Peterson all rights reserved, Pearu Peterson <pearu@cens.ioc.ee> Permission to use, modify, and distribute this software is given under the terms of the NumPy License.

NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. $Date: 2005/05/06 08:31:19 $ Pearu Peterson

Function buildmodules Undocumented
Function callcrackfortran Undocumented
Function dict_append Undocumented
Function filter_files Filter files by prefix and suffix.
Function get_prefix Undocumented
Function main Undocumented
Function run_compile Do it all in one call!
Function run_main Equivalent to running:
Function scaninputline Undocumented
Variable __usage__ Undocumented
def buildmodules(lst): (source)

Undocumented

def callcrackfortran(files, options): (source)

Undocumented

def dict_append(d_out, d_in): (source)

Undocumented

def filter_files(prefix, suffix, files, remove_prefix=None): (source)

Filter files by prefix and suffix.

def get_prefix(module): (source)

Undocumented

def main(): (source)

Undocumented

def run_compile(): (source)

Do it all in one call!

def run_main(comline_list): (source)

Equivalent to running:

f2py <args>

where <args>=string.join(<list>,' '), but in Python. Unless -h is used, this function returns a dictionary containing information on generated modules and their dependencies on source files.

You cannot build extension modules with this function, that is, using -c is not allowed. Use the compile command instead.

Examples

The command f2py -m scalar scalar.f can be executed from Python as follows.

def scaninputline(inputline): (source)

Undocumented

__usage__ = (source)

Undocumented