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 F2PyTest Undocumented
Function build_code Compile and import Fortran code using f2py.
Function build_module Compile and import a f2py module, built from the given files.
Function build_module_distutils Build a module via distutils and import it.
Function get_module_dir Undocumented
Function get_temp_module_name Undocumented
Function getpath Undocumented
Function has_c_compiler Undocumented
Function has_f77_compiler Undocumented
Function has_f90_compiler Undocumented
Function switchdir Undocumented
Function _cleanup Undocumented
Function _get_compiler_status Undocumented
Function _memoize Undocumented
Variable _compiler_status Undocumented
Variable _module_dir Undocumented
Variable _module_num Undocumented
@_memoize
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)

Compile and import a f2py module, built from the given files.

@_memoize
def build_module_distutils(source_files, config_code, module_name, **kw): (source)

Build a module via distutils and import it.

def get_module_dir(): (source)

Undocumented

def get_temp_module_name(): (source)

Undocumented

def getpath(*a): (source)

Undocumented

def has_c_compiler(): (source)

Undocumented

def has_f77_compiler(): (source)

Undocumented

def has_f90_compiler(): (source)

Undocumented

Undocumented

def _cleanup(): (source)

Undocumented

def _get_compiler_status(): (source)

Undocumented

def _memoize(func): (source)

Undocumented

_compiler_status = (source)

Undocumented

_module_dir = (source)

Undocumented

_module_num: int = (source)

Undocumented