module documentation

Improved support for Microsoft Visual C++ compilers. Known supported compilers: -------------------------- 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.

Class EnvironmentInfo Return environment variables for specified Microsoft Visual C++ version and platform : Lib, Include, Path and libpath.
Class PlatformInfo Current and Target Architectures information.
Class RegistryInfo Microsoft Visual Studio related registry information.
Class SystemInfo Microsoft Windows and Visual Studio related system information.
Function msvc14_get_vc_env Patched "distutils._msvccompiler._get_vc_env" for support extra Microsoft Visual C++ 14.X compilers.
Constant PLAT_SPEC_TO_RUNTIME Undocumented
Function _augment_exception Add details to the exception message to help guide the user as to what action will resolve it.
Function _msvc14_find_vc2015 Python 3.8 "distutils/_msvccompiler.py" backport
Function _msvc14_find_vc2017 Python 3.8 "distutils/_msvccompiler.py" backport
Function _msvc14_find_vcvarsall Python 3.8 "distutils/_msvccompiler.py" backport
Function _msvc14_get_vc_env Python 3.8 "distutils/_msvccompiler.py" backport
def msvc14_get_vc_env(plat_spec): (source)

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

PLAT_SPEC_TO_RUNTIME: dict[str, str] = (source)

Undocumented

Value
{'x86': 'x86', 'x86_amd64': 'x64', 'x86_arm': 'arm', 'x86_arm64': 'arm64'}
def _augment_exception(exc, version, arch=''): (source)

Add details to the exception message to help guide the user as to what action will resolve it.

def _msvc14_find_vc2015(): (source)

Python 3.8 "distutils/_msvccompiler.py" backport

def _msvc14_find_vc2017(): (source)

Python 3.8 "distutils/_msvccompiler.py" backport Returns "15, path" based on the result of invoking vswhere.exe If no install is found, returns "None, None" The version is returned to avoid unnecessarily changing the function result. It may be ignored when the path is not None. If vswhere.exe is not available, by definition, VS 2017 is not installed.

def _msvc14_find_vcvarsall(plat_spec): (source)

Python 3.8 "distutils/_msvccompiler.py" backport

def _msvc14_get_vc_env(plat_spec): (source)

Python 3.8 "distutils/_msvccompiler.py" backport