OpenQuizz
Une application de gestion des contenus pédagogiques
setuptools._distutils.cygwinccompiler Namespace Reference

Data Structures

class  CygwinCCompiler
 
class  Mingw32CCompiler
 

Functions

def get_msvcr ()
 
def check_config_h ()
 
def get_versions ()
 
def is_cygwingcc ()
 

Variables

 CONFIG_H_OK
 
 CONFIG_H_NOTOK
 
 CONFIG_H_UNCERTAIN
 
 RE_VERSION
 

Detailed Description

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).

Function Documentation

◆ check_config_h()

def setuptools._distutils.cygwinccompiler.check_config_h ( )
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__".

◆ get_msvcr()

def setuptools._distutils.cygwinccompiler.get_msvcr ( )
Include the appropriate MSVC runtime library if Python was built
with MSVC 7.0 or later.

◆ get_versions()

def setuptools._distutils.cygwinccompiler.get_versions ( )
Try to find out the versions of gcc, ld and dllwrap.

If not possible it returns None for it.

◆ is_cygwingcc()

def setuptools._distutils.cygwinccompiler.is_cygwingcc ( )
Try to determine if the gcc that would be used is from cygwin.

Variable Documentation

◆ CONFIG_H_NOTOK

CONFIG_H_NOTOK

◆ CONFIG_H_OK

CONFIG_H_OK

◆ CONFIG_H_UNCERTAIN

CONFIG_H_UNCERTAIN

◆ RE_VERSION

RE_VERSION