class documentation

get_info() is the only public method. Don't use others.

Method __init__ Undocumented
Method calc_extra_info Updates the information in the current information with respect to these flags:
Method calc_libraries_info Undocumented
Method check_libs If static or shared libraries are available then return their info dictionary.
Method check_libs2 If static or shared libraries are available then return their info dictionary.
Method combine_paths Return a list of existing paths composed by all combinations of items from the arguments.
Method get_include_dirs Undocumented
Method get_info Return a dictionary with items that are compatible with numpy.distutils.setup keyword arguments.
Method get_lib_dirs Undocumented
Method get_libraries Undocumented
Method get_libs Undocumented
Method get_option_single Ensure that only one of options are found in the section
Method get_paths Undocumented
Method get_runtime_lib_dirs Undocumented
Method get_src_dirs Undocumented
Method has_info Undocumented
Method library_extensions Undocumented
Method parse_config_files Undocumented
Method set_info Undocumented
Class Variable dir_env_var Undocumented
Class Variable saved_results Undocumented
Class Variable section Undocumented
Instance Variable cp Undocumented
Instance Variable files Undocumented
Instance Variable local_prefixes Undocumented
Instance Variable search_static_first Undocumented
Method _check_libs Find mandatory and optional libs in expected paths.
Method _find_lib Undocumented
Method _find_libs Undocumented
def calc_extra_info(self): (source)

Updates the information in the current information with respect to these flags:

extra_compile_args extra_link_args
def calc_libraries_info(self): (source)

Undocumented

def check_libs(self, lib_dirs, libs, opt_libs=[]): (source)

If static or shared libraries are available then return their info dictionary.

Checks for all libraries as shared libraries first, then static (or vice versa if self.search_static_first is True).

def check_libs2(self, lib_dirs, libs, opt_libs=[]): (source)

If static or shared libraries are available then return their info dictionary.

Checks each library for shared or static.

def combine_paths(self, *args): (source)

Return a list of existing paths composed by all combinations of items from the arguments.

def get_include_dirs(self, key='include_dirs'): (source)

Undocumented

def get_info(self, notfound_action=0): (source)

Return a dictionary with items that are compatible with numpy.distutils.setup keyword arguments.

def get_lib_dirs(self, key='library_dirs'): (source)

Undocumented

def get_libraries(self, key='libraries'): (source)

Undocumented

def get_libs(self, key, default): (source)

Undocumented

def get_option_single(self, *options): (source)

Ensure that only one of options are found in the section

Parameters
*options:list of stra list of options to be found in the section (self.section)
Returns
strthe option that is uniquely found in the section
Raises
AliasedOptionError :in case more than one of the options are found
def get_runtime_lib_dirs(self, key='runtime_library_dirs'): (source)

Undocumented

def get_src_dirs(self, key='src_dirs'): (source)

Undocumented

def has_info(self): (source)

Undocumented

def library_extensions(self): (source)

Undocumented

def parse_config_files(self): (source)

Undocumented

def set_info(self, **info): (source)

Undocumented

saved_results: dict = (source)

Undocumented

Undocumented

search_static_first = (source)

Undocumented

def _check_libs(self, lib_dirs, libs, opt_libs, exts): (source)

Find mandatory and optional libs in expected paths.

Missing optional libraries are silently forgotten.

def _find_lib(self, lib_dir, lib, exts): (source)

Undocumented

def _find_libs(self, lib_dirs, libs, exts): (source)

Undocumented