sysconfig

Provide access to Python’s configuration information.

Functions

get_config_h_filename() Returns the path of pyconfig.h.
get_config_var(name) Return the value of a single variable using the dictionary returned by ‘get_config_vars()’.
get_config_vars(*args) With no arguments, return a dictionary of all configuration variables relevant for the current platform.
get_makefile_filename() Return the path of the Makefile.
get_path(name[, scheme, vars, expand]) Returns a path corresponding to the scheme.
get_path_names() Returns a tuple containing the paths names.
get_paths([scheme, vars, expand]) Returns a mapping containing an install scheme.
get_platform() Return a string that identifies the current platform.
get_python_version()
get_scheme_names() Returns a tuple containing the schemes names.
is_python_build()
parse_config_h(fp[, vars]) Parse a config.h-style file.
realpath(filename) Return the canonical path of the specified filename, eliminating any symbolic links encountered in the path.