module documentation

Utility functions for

  • building and importing modules on test time, using a temporary location
  • detecting if compilers are present
Class ​F2​Py​Test Undocumented
Function ​_cleanup Undocumented
Function ​_get​_compiler​_status Undocumented
Function ​_memoize 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 has​_c​_compiler Undocumented
Function has​_f77​_compiler Undocumented
Function has​_f90​_compiler Undocumented
Variable ​_compiler​_status Undocumented
Variable ​_module​_dir Undocumented
Variable ​_module​_num Undocumented
def _cleanup():

Undocumented

def _get_compiler_status():

Undocumented

def _memoize(func):

Undocumented

@_memoize
def build_code(source_code, options=[], skip=[], only=[], suffix=None, module_name=None):
Compile and import Fortran code using f2py.
@_memoize
def build_module(source_files, options=[], skip=[], only=[], module_name=None):
Compile and import a f2py module, built from the given files.
@_memoize
def build_module_distutils(source_files, config_code, module_name, **kw):
Build a module via distutils and import it.
def get_module_dir():

Undocumented

def get_temp_module_name():

Undocumented

def has_c_compiler():

Undocumented

def has_f77_compiler():

Undocumented

def has_f90_compiler():

Undocumented

_compiler_status =

Undocumented

_module_dir =

Undocumented

_module_num: int =

Undocumented