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

Data Structures

class  EnvironmentInfo
 
class  PlatformInfo
 
class  RegistryInfo
 
class  SystemInfo
 
class  winreg
 

Functions

def msvc9_find_vcvarsall (version)
 
def msvc9_query_vcvarsall (ver, arch='x86', *args, **kwargs)
 
def msvc14_get_vc_env (plat_spec)
 
def msvc14_gen_lib_options (*args, **kwargs)
 

Variables

 environ
 
 PLAT_SPEC_TO_RUNTIME
 

Detailed Description

Improved support for Microsoft Visual C++ compilers.

Known supported compilers:
--------------------------
Microsoft Visual C++ 9.0:
    Microsoft Visual C++ Compiler for Python 2.7 (x86, amd64)
    Microsoft Windows SDK 6.1 (x86, x64, ia64)
    Microsoft Windows SDK 7.0 (x86, x64, ia64)

Microsoft Visual C++ 10.0:
    Microsoft Windows SDK 7.1 (x86, x64, ia64)

Microsoft Visual C++ 14.X:
    Microsoft Visual C++ Build Tools 2015 (x86, x64, arm)
    Microsoft Visual Studio Build Tools 2017 (x86, x64, arm, arm64)
    Microsoft Visual Studio Build Tools 2019 (x86, x64, arm, arm64)

This may also support compilers shipped with compatible Visual Studio versions.

Function Documentation

◆ msvc14_gen_lib_options()

def setuptools.msvc.msvc14_gen_lib_options ( args,
**  kwargs 
)
Patched "distutils._msvccompiler.gen_lib_options" for fix
compatibility between "numpy.distutils" and "distutils._msvccompiler"
(for Numpy < 1.11.2)

◆ msvc14_get_vc_env()

def setuptools.msvc.msvc14_get_vc_env (   plat_spec)
Patched "distutils._msvccompiler._get_vc_env" for support extra
Microsoft Visual C++ 14.X compilers.

Set environment without use of "vcvarsall.bat".

Parameters
----------
plat_spec: str
    Target architecture.

Return
------
dict
    environment

◆ msvc9_find_vcvarsall()

def setuptools.msvc.msvc9_find_vcvarsall (   version)
Patched "distutils.msvc9compiler.find_vcvarsall" to use the standalone
compiler build for Python
(VCForPython / Microsoft Visual C++ Compiler for Python 2.7).

Fall back to original behavior when the standalone compiler is not
available.

Redirect the path of "vcvarsall.bat".

Parameters
----------
version: float
    Required Microsoft Visual C++ version.

Return
------
str
    vcvarsall.bat path

◆ msvc9_query_vcvarsall()

def setuptools.msvc.msvc9_query_vcvarsall (   ver,
  arch = 'x86',
args,
**  kwargs 
)
Patched "distutils.msvc9compiler.query_vcvarsall" for support extra
Microsoft Visual C++ 9.0 and 10.0 compilers.

Set environment without use of "vcvarsall.bat".

Parameters
----------
ver: float
    Required Microsoft Visual C++ version.
arch: str
    Target architecture.

Return
------
dict
    environment

Variable Documentation

◆ environ

environ

◆ PLAT_SPEC_TO_RUNTIME

PLAT_SPEC_TO_RUNTIME