sysconfig.parse_config_h()

sysconfig.parse_config_h(fp[, vars]) Parse a config.h-style file. fp is a file-like object pointing to the config.h-like file. A dictionary containing name/value pairs is returned. If an optional dictionary is passed in as the second argument, it is used instead of a new dictionary, and updated with the values read in the file.

sysconfig.is_python_build()

sysconfig.is_python_build() Return True if the current Python installation was built from source.

sysconfig.get_scheme_names()

sysconfig.get_scheme_names() Return a tuple containing all schemes currently supported in sysconfig.

sysconfig.get_python_version()

sysconfig.get_python_version() Return the MAJOR.MINOR Python version number as a string. Similar to sys.version[:3].

sysconfig.get_platform()

sysconfig.get_platform() Return a string that identifies the current platform. This is used mainly to distinguish platform-specific build directories and platform-specific built distributions. Typically includes the OS name and version and the architecture (as supplied by os.uname()), although the exact information included depends on the OS; e.g. for IRIX the architecture isn’t particularly important (IRIX only runs on SGI hardware), but for Linux the kernel version isn’t particularly impor

sysconfig.get_path_names()

sysconfig.get_path_names() Return a tuple containing all path names currently supported in sysconfig.

sysconfig.get_paths()

sysconfig.get_paths([scheme[, vars[, expand]]]) Return a dictionary containing all installation paths corresponding to an installation scheme. See get_path() for more information. If scheme is not provided, will use the default scheme for the current platform. If vars is provided, it must be a dictionary of variables that will update the dictionary used to expand the paths. If expand is set to False, the paths will not be expanded. If scheme is not an existing scheme, get_paths() will raise

sysconfig.get_path()

sysconfig.get_path(name[, scheme[, vars[, expand]]]) Return an installation path corresponding to the path name, from the install scheme named scheme. name has to be a value from the list returned by get_path_names(). sysconfig stores installation paths corresponding to each path name, for each platform, with variables to be expanded. For instance the stdlib path for the nt scheme is: {base}/Lib. get_path() will use the variables returned by get_config_vars() to expand the path. All variable

sysconfig.get_makefile_filename()

sysconfig.get_makefile_filename() Return the path of Makefile.

sysconfig.get_config_vars()

sysconfig.get_config_vars(*args) With no arguments, return a dictionary of all configuration variables relevant for the current platform. With arguments, return a list of values that result from looking up each argument in the configuration variable dictionary. For each argument, if the value is not found, return None.