class documentation

class EnvironmentInfo: (source)

View In Hierarchy

Return environment variables for specified Microsoft Visual C++ version and platform : Lib, Include, Path and libpath. This function is compatible with Microsoft Visual C++ 9.0 to 14.X. Script created by analysing Microsoft environment configuration files like "vcvars[...].bat", "SetEnv.Cmd", "vcbuildtools.bat", ... Parameters ---------- arch: str Target architecture. vc_ver: float Required Microsoft Visual C++ version. If not set, autodetect the last version. vc_min_ver: float Minimum Microsoft Visual C++ version.

Method __init__ Undocumented
Method return_env Return environment dict.
Instance Variable pi Undocumented
Instance Variable ri Undocumented
Instance Variable si Undocumented
Property FSharp Microsoft Visual F#.
Property FxTools Microsoft .NET Framework Tools.
Property HTMLHelpWorkshop Microsoft HTML Help Workshop.
Property MSBuild Microsoft Build Engine.
Property NetFxSDKIncludes Microsoft .Net Framework SDK Includes.
Property NetFxSDKLibraries Microsoft .Net Framework SDK Libraries.
Property OSIncludes Microsoft Windows SDK Include.
Property OSLibpath Microsoft Windows SDK Libraries Paths.
Property OSLibraries Microsoft Windows SDK Libraries.
Property SdkSetup Microsoft Windows SDK Setup.
Property SdkTools Microsoft Windows SDK Tools.
Property UCRTIncludes Microsoft Universal C Runtime SDK Include.
Property UCRTLibraries Microsoft Universal C Runtime SDK Libraries.
Property vc_ver Microsoft Visual C++ version.
Property VCIncludes Microsoft Visual C++ & Microsoft Foundation Class Includes.
Property VCLibraries Microsoft Visual C++ & Microsoft Foundation Class Libraries.
Property VCRuntimeRedist Microsoft Visual C++ runtime redistributable dll.
Property VCStoreRefs Microsoft Visual C++ store references Libraries.
Property VCTools Microsoft Visual C++ Tools.
Property vs_ver Microsoft Visual Studio.
Property VsTDb Microsoft Visual Studio Team System Database.
Property VSTools Microsoft Visual Studio Tools.
Method _build_paths Given an environment variable name and specified paths, return a pathsep-separated string of paths containing unique, extant, directories from those paths and from the environment variable. Raise an error if no paths are resolved.
Method _sdk_tools Microsoft Windows SDK Tools paths generator.
Property _sdk_subdir Microsoft Windows SDK version subdir.
Property _ucrt_subdir Microsoft Universal C Runtime SDK version subdir.
def __init__(self, arch, vc_ver=None, vc_min_ver=0): (source)

Undocumented

def return_env(self, exists=True): (source)

Return environment dict. Parameters ---------- exists: bool It True, only return existing paths. Return ------ dict environment

Undocumented

Undocumented

Undocumented

Microsoft Visual F#. Return ------ list of str paths

Microsoft .NET Framework Tools. Return ------ list of str paths

@property
HTMLHelpWorkshop = (source)

Microsoft HTML Help Workshop. Return ------ list of str paths

Microsoft Build Engine. Return ------ list of str paths

@property
NetFxSDKIncludes = (source)

Microsoft .Net Framework SDK Includes. Return ------ list of str paths

@property
NetFxSDKLibraries = (source)

Microsoft .Net Framework SDK Libraries. Return ------ list of str paths

Microsoft Windows SDK Include. Return ------ list of str paths

Microsoft Windows SDK Libraries Paths. Return ------ list of str paths

@property
OSLibraries = (source)

Microsoft Windows SDK Libraries. Return ------ list of str paths

Microsoft Windows SDK Setup. Return ------ list of str paths

Microsoft Windows SDK Tools. Return ------ list of str paths

@property
UCRTIncludes = (source)

Microsoft Universal C Runtime SDK Include. Return ------ list of str paths

@property
UCRTLibraries = (source)

Microsoft Universal C Runtime SDK Libraries. Return ------ list of str paths

Microsoft Visual C++ version. Return ------ float version

Microsoft Visual C++ & Microsoft Foundation Class Includes. Return ------ list of str paths

@property
VCLibraries = (source)

Microsoft Visual C++ & Microsoft Foundation Class Libraries. Return ------ list of str paths

@property
VCRuntimeRedist = (source)

Microsoft Visual C++ runtime redistributable dll. Return ------ str path

@property
VCStoreRefs = (source)

Microsoft Visual C++ store references Libraries. Return ------ list of str paths

Microsoft Visual C++ Tools. Return ------ list of str paths

Microsoft Visual Studio. Return ------ float version

Microsoft Visual Studio Team System Database. Return ------ list of str paths

Microsoft Visual Studio Tools. Return ------ list of str paths

def _build_paths(self, name, spec_path_lists, exists): (source)

Given an environment variable name and specified paths, return a pathsep-separated string of paths containing unique, extant, directories from those paths and from the environment variable. Raise an error if no paths are resolved. Parameters ---------- name: str Environment variable name spec_path_lists: list of str Paths exists: bool It True, only return existing paths. Return ------ str Pathsep-separated paths

def _sdk_tools(self): (source)

Microsoft Windows SDK Tools paths generator. Return ------ generator of str paths

@property
_sdk_subdir = (source)

Microsoft Windows SDK version subdir. Return ------ str subdir

@property
_ucrt_subdir = (source)

Microsoft Universal C Runtime SDK version subdir. Return ------ str subdir