Module msvccompiler
distutils.msvccompiler
Contains MSVCCompiler, an implementation of the abstract CCompiler
class for the Microsoft Visual Studio.
MacroExpander
|
MSVCCompiler
Concrete class that implements an interface to Microsoft Visual
C++, as defined by the CCompiler abstract class.
|
|
read_keys(base,
key)
Return list of registry keys. |
|
|
|
read_values(base,
key)
Return dict of registry keys and values. |
|
|
|
|
|
|
|
|
|
__revision__ = ' $Id: msvccompiler.py 50979 2006-07-30 13:27:31 ...
|
|
_can_read_reg = 0
|
|
hkey_mod = win32con
|
|
RegOpenKeyEx = win32api.RegOpenKeyEx
|
|
RegEnumKey = win32api.RegEnumKey
|
|
RegEnumValue = win32api.RegEnumValue
|
|
RegError = win32api.error
|
|
HKEYS = hkey_mod.HKEY_USERS, hkey_mod.HKEY_CURRENT_USER, hkey_...
|
Imports:
sys,
os,
string,
DistutilsExecError,
DistutilsPlatformError,
CompileError,
LibError,
LinkError,
CCompiler,
gen_preprocess_options,
gen_lib_options,
log,
_winreg,
win32api,
win32con
Return dict of registry keys and values.
All names are converted to lowercase.
|
Return the version of MSVC that was used to build Python.
For Python 2.3 and up, the version number is included in sys.version.
For earlier versions, assume the compiler is MSVC 6.
|
Return the processor architecture.
Possible results are "Intel", "Itanium", or
"AMD64".
|
__revision__
- Value:
' $Id: msvccompiler.py 50979 2006-07-30 13:27:31Z martin.v.loewis $ '
|
|
HKEYS
- Value:
hkey_mod.HKEY_USERS, hkey_mod.HKEY_CURRENT_USER, hkey_mod.HKEY_LOCAL_M
ACHINE, hkey_mod.HKEY_CLASSES_ROOT
|
|