class documentation

class system_info:

Known subclasses: numpy.distutils.system_info._numpy_info, numpy.distutils.system_info._pkg_config_info, numpy.distutils.system_info.accelerate_info, numpy.distutils.system_info.agg2_info, numpy.distutils.system_info.amd_info, numpy.distutils.system_info.armpl_info, numpy.distutils.system_info.atlas_info, numpy.distutils.system_info.blas_info, numpy.distutils.system_info.blas_opt_info, numpy.distutils.system_info.blas_src_info, numpy.distutils.system_info.boost_python_info, numpy.distutils.system_info.cblas_info, numpy.distutils.system_info.djbfft_info, numpy.distutils.system_info.f2py_info, numpy.distutils.system_info.fft_opt_info, numpy.distutils.system_info.fftw_info, numpy.distutils.system_info.flame_info, numpy.distutils.system_info.lapack_info, numpy.distutils.system_info.lapack_opt_info, numpy.distutils.system_info.lapack_src_info, numpy.distutils.system_info.mkl_info, numpy.distutils.system_info.numerix_info, numpy.distutils.system_info.umfpack_info, numpy.distutils.system_info.x11_info, numpy.distutils.tests.test_system_info._system_info

View In Hierarchy

get_info() is the only public method. Don't use others.
Method __init__ Undocumented
Method ​_check​_libs Find mandatory and optional libs in expected paths.
Method ​_find​_lib Undocumented
Method ​_find​_libs Undocumented
Method calc​_extra​_info No summary
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
def _check_libs(self, lib_dirs, libs, opt_libs, exts):

Find mandatory and optional libs in expected paths.

Missing optional libraries are silently forgotten.

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

Undocumented

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

Undocumented

def calc_extra_info(self):

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

extra_compile_args extra_link_args
def calc_libraries_info(self):

Undocumented

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

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=[]):

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

Checks each library for shared or static.

def combine_paths(self, *args):
Return a list of existing paths composed by all combinations of items from the arguments.
def get_include_dirs(self, key='include_dirs'):

Undocumented

def get_info(self, notfound_action=0):
Return a dictionary with items that are compatible with numpy.distutils.setup keyword arguments.
def get_lib_dirs(self, key='library_dirs'):

Undocumented

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

Undocumented

def get_libs(self, key, default):

Undocumented

def get_option_single(self, *options):

Ensure that only one of options are found in the section

Parameters

*options : list of str
a list of options to be found in the section (self.section)

Returns

str :
the 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'):

Undocumented

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

Undocumented

def has_info(self):

Undocumented

def library_extensions(self):

Undocumented

def parse_config_files(self):

Undocumented

def set_info(self, **info):

Undocumented

saved_results: dict =

Undocumented

files: list =

Undocumented

local_prefixes: list =
search_static_first =

Undocumented