distutils.msvccompiler
index
/usr/lib/python1.6/distutils/msvccompiler.py

distutils.msvccompiler
 
Contains MSVCCompiler, an implementation of the abstract CCompiler class
for the Microsoft Visual Studio.

 
Modules
            
os
string
sys

 
Classes
            
distutils.ccompiler.CCompiler
MSVCCompiler

 
class MSVCCompiler(distutils.ccompiler.CCompiler)
      Concrete class that implements an interface to Microsoft Visual C++,
as defined by the CCompiler abstract class.
 
  
__init__(self, verbose=0, dry_run=0, force=0)
_check_macro_definitions(self, definitions) from distutils.ccompiler.CCompiler
_find_macro(self, name) from distutils.ccompiler.CCompiler
_fix_compile_args(self, output_dir, macros, include_dirs) from distutils.ccompiler.CCompiler
_fix_lib_args(self, libraries, library_dirs, runtime_library_dirs) from distutils.ccompiler.CCompiler
_fix_object_args(self, objects, output_dir) from distutils.ccompiler.CCompiler
_need_link(self, objects, output_file) from distutils.ccompiler.CCompiler
_prep_compile(self, sources, output_dir) from distutils.ccompiler.CCompiler
add_include_dir(self, dir) from distutils.ccompiler.CCompiler
add_library(self, libname) from distutils.ccompiler.CCompiler
add_library_dir(self, dir) from distutils.ccompiler.CCompiler
add_link_object(self, object) from distutils.ccompiler.CCompiler
add_runtime_library_dir(self, dir) from distutils.ccompiler.CCompiler
announce(self, msg, level=1) from distutils.ccompiler.CCompiler
compile(self, sources, output_dir=None, macros=None, include_dirs=None, debug=0, extra_preargs=None, extra_postargs=None)
create_static_lib(self, objects, output_libname, output_dir=None, debug=0, extra_preargs=None, extra_postargs=None)
debug_print(self, msg) from distutils.ccompiler.CCompiler
define_macro(self, name, value=None) from distutils.ccompiler.CCompiler
execute(self, func, args, msg=None, level=1) from distutils.ccompiler.CCompiler
find_library_file(self, dirs, lib, debug=0)
library_dir_option(self, dir)
library_filename(self, libname, lib_type='static', strip_dir=0, output_dir='') from distutils.ccompiler.CCompiler
library_option(self, lib)
link_executable(self, objects, output_progname, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, debug=0, extra_preargs=None, extra_postargs=None)
link_shared_lib(self, objects, output_libname, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=0, extra_preargs=None, extra_postargs=None, build_temp=None)
link_shared_object(self, objects, output_filename, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=0, extra_preargs=None, extra_postargs=None, build_temp=None)
mkpath(self, name, mode=511) from distutils.ccompiler.CCompiler
move_file(self, src, dst) from distutils.ccompiler.CCompiler
object_filenames(self, source_filenames, strip_dir=0, output_dir='') from distutils.ccompiler.CCompiler
preprocess(self, source, output_file=None, macros=None, include_dirs=None, extra_preargs=None, extra_postargs=None) from distutils.ccompiler.CCompiler
runtime_library_dir_option(self, dir)
set_executable(self, key, value) from distutils.ccompiler.CCompiler
set_executables(self, **args) from distutils.ccompiler.CCompiler
set_include_dirs(self, dirs) from distutils.ccompiler.CCompiler
set_libraries(self, libnames) from distutils.ccompiler.CCompiler
set_library_dirs(self, dirs) from distutils.ccompiler.CCompiler
set_link_objects(self, objects) from distutils.ccompiler.CCompiler
set_runtime_library_dirs(self, dirs) from distutils.ccompiler.CCompiler
shared_object_filename(self, basename, strip_dir=0, output_dir='') from distutils.ccompiler.CCompiler
spawn(self, cmd) from distutils.ccompiler.CCompiler
undefine_macro(self, name) from distutils.ccompiler.CCompiler
warn(self, msg) from distutils.ccompiler.CCompiler

 
Functions
            
find_exe(exe, version_number)
Try to find an MSVC executable program 'exe' (from version
'version_number' of MSVC) in several places: first, one of the MSVC
program search paths from the registry; next, the directories in the
PATH environment variable.  If any of those work, return an absolute
path that is known to exist.  If none of them work, just return the
original program name, 'exe'.
get_devstudio_versions()
Get list of devstudio versions from the Windows registry.  Return a
list of strings containing version numbers; the list will be
empty if we were unable to access the registry (eg. couldn't import
a registry-access module) or the appropriate registry keys weren't
found.
get_msvc_paths(path, version='6.0', platform='x86')
Get a list of devstudio directories (include, lib or path).  Return
a list of strings; will be empty list if unable to access the
registry or appropriate registry keys not found.
set_path_env_var(name, version_number)
Set environment variable 'name' to an MSVC path type value obtained
from 'get_msvc_paths()'.  This is equivalent to a SET command prior
to execution of spawned commands.

 
Data
             BufferType = <type 'buffer'>
BuiltinFunctionType = <type 'builtin_function_or_method'>
BuiltinMethodType = <type 'builtin_function_or_method'>
ClassType = <type 'class'>
CodeType = <type 'code'>
ComplexType = <type 'complex'>
DictType = <type 'dictionary'>
DictionaryType = <type 'dictionary'>
EllipsisType = <type 'ellipsis'>
FileType = <type 'file'>
FloatType = <type 'float'>
FrameType = <type 'frame'>
FunctionType = <type 'function'>
InstanceType = <type 'instance'>
IntType = <type 'int'>
LambdaType = <type 'function'>
ListType = <type 'list'>
LongType = <type 'long int'>
MethodType = <type 'instance method'>
ModuleType = <type 'module'>
NoneType = <type 'None'>
SliceType = <type 'slice'>
StringType = <type 'string'>
TracebackType = <type 'traceback'>
TupleType = <type 'tuple'>
TypeType = <type 'type'>
UnboundMethodType = <type 'instance method'>
UnicodeType = <type 'unicode'>
XRangeType = <type 'xrange'>
__file__ = '/usr/lib/python1.6/distutils/msvccompiler.pyc'
__name__ = 'distutils.msvccompiler'
__revision__ = '$Id: msvccompiler.py,v 1.38 2000/08/04 01:29:27 gward Exp $'
_can_read_reg = 0