module documentation
Utility functions for
- building and importing modules on test time, using a temporary location
- detecting if compilers are present
- determining paths to tests
Class |
|
Undocumented |
Function | build |
Compile and import Fortran code using f2py. |
Function | build |
Compile and import a f2py module, built from the given files. |
Function | build |
Build a module via distutils and import it. |
Function | get |
Undocumented |
Function | get |
Undocumented |
Function | getpath |
Undocumented |
Function | has |
Undocumented |
Function | has |
Undocumented |
Function | has |
Undocumented |
Function | switchdir |
Undocumented |
Function | _cleanup |
Undocumented |
Function | _get |
Undocumented |
Function | _memoize |
Undocumented |
Variable | _compiler |
Undocumented |
Variable | _module |
Undocumented |
Variable | _module |
Undocumented |
@_memoize
def build_code(source_code, options=[], skip=[], only=[], suffix=None, module_name=None): (source) ¶
def build_code(source_code, options=[], skip=[], only=[], suffix=None, module_name=None): (source) ¶
Compile and import Fortran code using f2py.
@_memoize
def build_module(source_files, options=[], skip=[], only=[], module_name=None): (source) ¶
def build_module(source_files, options=[], skip=[], only=[], module_name=None): (source) ¶
Compile and import a f2py module, built from the given files.