module documentation

distutils.cygwinccompiler Provides the CygwinCCompiler class, a subclass of UnixCCompiler that handles the Cygwin port of the GNU C compiler to Windows. It also contains the Mingw32CCompiler class which handles the mingw32 port of GCC (same as cygwin in no-cygwin mode).

Class CygwinCCompiler Handles the Cygwin port of the GNU C compiler to Windows.
Class Mingw32CCompiler Handles the Mingw32 port of the GNU C compiler to Windows.
Function check_config_h Check if the current Python installation appears amenable to building extensions with GCC.
Function get_msvcr Include the appropriate MSVC runtime library if Python was built with MSVC 7.0 or later.
Function is_cygwincc Try to determine if the compiler that would be used is from cygwin.
Constant CONFIG_H_NOTOK Undocumented
Constant CONFIG_H_OK Undocumented
Constant CONFIG_H_UNCERTAIN Undocumented
Variable get_versions A stand-in for the previous get_versions() function to prevent failures when monkeypatched. See pypa/setuptools#2969.
Variable _msvcr_lookup Undocumented
Variable _runtime_library_dirs_msg Undocumented
def check_config_h(): (source)

Check if the current Python installation appears amenable to building extensions with GCC. Returns a tuple (status, details), where 'status' is one of the following constants: - CONFIG_H_OK: all is well, go ahead and compile - CONFIG_H_NOTOK: doesn't look good - CONFIG_H_UNCERTAIN: not sure -- unable to read pyconfig.h 'details' is a human-readable string explaining the situation. Note there are two ways to conclude "OK": either 'sys.version' contains the string "GCC" (implying that this Python was built with GCC), or the installed "pyconfig.h" contains the string "__GNUC__".

def get_msvcr(): (source)

Include the appropriate MSVC runtime library if Python was built with MSVC 7.0 or later.

def is_cygwincc(cc): (source)

Try to determine if the compiler that would be used is from cygwin.

CONFIG_H_NOTOK: str = (source)

Undocumented

Value
'not ok'
CONFIG_H_OK: str = (source)

Undocumented

Value
'ok'
CONFIG_H_UNCERTAIN: str = (source)

Undocumented

Value
'uncertain'
get_versions = (source)

A stand-in for the previous get_versions() function to prevent failures when monkeypatched. See pypa/setuptools#2969.

_msvcr_lookup = (source)

Undocumented

_runtime_library_dirs_msg: str = (source)

Undocumented