/usr/lib/python2.6/distutils
NameSizeModeActions
command/-0755rm
archive_util.py63190644editdlrm
archive_util.pyc54870644editdlrm
archive_util.pyo54870644editdlrm
bcppcompiler.py150910644editdlrm
bcppcompiler.pyc80870644editdlrm
bcppcompiler.pyo80870644editdlrm
ccompiler.py488630644editdlrm
ccompiler.pyc377140644editdlrm
ccompiler.pyo375210644editdlrm
cmd.py192530644editdlrm
cmd.pyc168560644editdlrm
cmd.pyo168560644editdlrm
config.py41640644editdlrm
config.pyc36800644editdlrm
config.pyo36800644editdlrm
core.py90810644editdlrm
core.pyc76900644editdlrm
core.pyo76900644editdlrm
cygwinccompiler.py172920644editdlrm
cygwinccompiler.pyc95070644editdlrm
cygwinccompiler.pyo95070644editdlrm
debug.py2650644editdlrm
debug.pyc2970644editdlrm
debug.pyo2970644editdlrm
dep_util.py36320644editdlrm
dep_util.pyc31920644editdlrm
dep_util.pyo31920644editdlrm
dir_util.py81220644editdlrm
dir_util.pyc68900644editdlrm
dir_util.pyo68900644editdlrm
dist.py480070644editdlrm
dist.pyc380360644editdlrm
dist.pyo380360644editdlrm
emxccompiler.py119120644editdlrm
emxccompiler.pyc75320644editdlrm
emxccompiler.pyo75320644editdlrm
errors.py37200644editdlrm
errors.pyc63180644editdlrm
errors.pyo63180644editdlrm
extension.py103250644editdlrm
extension.pyc74000644editdlrm
extension.pyo71750644editdlrm
fancy_getopt.py184270644editdlrm
fancy_getopt.pyc124520644editdlrm
fancy_getopt.pyo122580644editdlrm
filelist.py128720644editdlrm
filelist.pyc107810644editdlrm
filelist.pyo107810644editdlrm
file_util.py83160644editdlrm
file_util.pyc68610644editdlrm
file_util.pyo68610644editdlrm
log.py16060644editdlrm
log.pyc25470644editdlrm
log.pyo25470644editdlrm
msvc9compiler.py287010644editdlrm
msvc9compiler.pyc204490644editdlrm
msvc9compiler.pyo203770644editdlrm
msvccompiler.py237600644editdlrm
msvccompiler.pyc177430644editdlrm
msvccompiler.pyo177430644editdlrm
mwerkscompiler.py103390644editdlrm
mwerkscompiler.pyc76540644editdlrm
mwerkscompiler.pyo76540644editdlrm
README10140644editdlrm
spawn.py69910644editdlrm
spawn.pyc55840644editdlrm
spawn.pyo55840644editdlrm
sysconfig.py227650644editdlrm
sysconfig.pyc159260644editdlrm
sysconfig.pyo159260644editdlrm
text_file.py151450644editdlrm
text_file.pyc112250644editdlrm
text_file.pyo112250644editdlrm
unixccompiler.py144940644editdlrm
unixccompiler.pyc90730644editdlrm
unixccompiler.pyo90730644editdlrm
util.py219780644editdlrm
util.pyc164020644editdlrm
util.pyo164020644editdlrm
version.py114860644editdlrm
version.pyc72140644editdlrm
version.pyo72140644editdlrm
versionpredicate.py50950644editdlrm
versionpredicate.pyc55830644editdlrm
versionpredicate.pyo55830644editdlrm
__init__.py6700644editdlrm
__init__.pyc4370644editdlrm
__init__.pyo4370644editdlrm
Edit: /usr/lib/python2.6/distutils/msvc9compiler.pyc (20449B)
Ñò «gc @sñdZdZddkZddkZddkZddkZddklZlZl Z l Z l Z ddk l Z lZlZddklZddklZddkZeiZeiZeiZeiZeieieiei fZ!ei"djo ei#d#jZ$e$od Z%d Z&d Z'ndZ%dZ&dZ'hdd6dd6dd6Z(dd$d„ƒYZ)dd%d„ƒYZ*d„Z+d„Z,d„Z-d„Z.dd„Z/e+ƒZ0e0djoed e0ƒ‚nd!e fd"„ƒYZ1dS(&s distutils.msvc9compiler Contains MSVCCompiler, an implementation of the abstract CCompiler class for the Microsoft Visual Studio 2008. The module is compatible with VS 2005 and VS 2008. You can find legacy support for older versions of VS in distutils.msvccompiler. sD$Id: msvc9compiler.py 82132 2010-06-21 15:39:28Z benjamin.peterson $iÿÿÿÿN(tDistutilsExecErrortDistutilsPlatformErrort CompileErrortLibErrort LinkError(t CCompilertgen_preprocess_optionstgen_lib_options(tlog(t get_platformtwin32ii s1Software\Wow6432Node\Microsoft\VisualStudio\%0.1fs5Software\Wow6432Node\Microsoft\Microsoft SDKs\Windowss,Software\Wow6432Node\Microsoft\.NETFrameworks%Software\Microsoft\VisualStudio\%0.1fs)Software\Microsoft\Microsoft SDKs\Windowss Software\Microsoft\.NETFrameworktx86tamd64s win-amd64tia64swin-ia64tRegcBsJeZdZed„ƒZed„ƒZed„ƒZed„ƒZRS(s2Helper class to read values from the registry cCsPx=tD]5}|i||ƒ}|o||jo ||SqWt|ƒ‚dS(N(tHKEYSt read_valuestKeyError(tclstpathtkeytbasetd((s-/usr/lib/python2.6/distutils/msvc9compiler.pyt get_valueBs  c CsŠyt||ƒ}Wntj odSXg}d}xMtoEyt||ƒ}Wntj oPnX|i|ƒ|d7}q9W|S(sReturn list of registry keys.iiN(t RegOpenKeyExtRegErrortNonetTruet RegEnumKeytappend(RRRthandletLtitk((s-/usr/lib/python2.6/distutils/msvc9compiler.pyt read_keysJs c Cs®yt||ƒ}Wntj odSXh}d}xqtoiyt||ƒ\}}}Wntj oPnX|iƒ}|i|ƒ||i|ƒ<|d7}q9W|S(s`Return dict of registry keys and values. All names are converted to lowercase. iiN(RRRRt RegEnumValuetlowert convert_mbcs( RRRRRR tnametvaluettype((s-/usr/lib/python2.6/distutils/msvc9compiler.pyR\s  cCsMt|ddƒ}|dj o*y|dƒ}WqItj oqIXn|S(Ntdecodetmbcs(tgetattrRt UnicodeError(tstdec((s-/usr/lib/python2.6/distutils/msvc9compiler.pyR%rs  ( t__name__t __module__t__doc__t classmethodRR"Rt staticmethodR%(((s-/usr/lib/python2.6/distutils/msvc9compiler.pyR>s t MacroExpandercBs,eZd„Zd„Zd„Zd„ZRS(cCs'h|_t||_|i|ƒdS(N(tmacrostVS_BASEtvsbaset load_macros(tselftversion((s-/usr/lib/python2.6/distutils/msvc9compiler.pyt__init__~s  cCs!ti||ƒ|id||D]6}tii|ƒ}||jo|i|ƒq q W|S(snReturn a list of normalized paths with duplicates removed. The current order of paths is maintained. (tosRtnormpathR(tpathst reduced_pathsRJtnp((s-/usr/lib/python2.6/distutils/msvc9compiler.pytnormalize_and_reduce_pathsÀs cCs]|itiƒ}g}x,|D]$}||jo|i|ƒqqWtii|ƒ}|S(s8Remove duplicate values of an environment variable. (RTR[tpathsepRtjoin(tvariabletoldListtnewListR t newVariable((s-/usr/lib/python2.6/distutils/msvc9compiler.pytremoveDuplicatesÎs cCsnt|}ytid|dƒ}Wn&tj otidƒd }nX| ptii |ƒ o®d|}ti i |d ƒ}|ostii |ƒo`tii |ti ti dƒ}tii|ƒ}tii |ƒptid|ƒd Sqtid|ƒn|ptidƒd Stii |d ƒ}tii|ƒo|Stid ƒd S( s¨Find the vcvarsall.bat file At first it tries to find the productdir of VS 2008 in the registry. If that fails it falls back to the VS90COMNTOOLS env var. s %s\Setup\VCR?s%Unable to find productdir in registrysVS%0.f0COMNTOOLStVCs%s is not a valid directorys Env var %s is not set or invalidsNo productdir founds vcvarsall.batsUnable to find vcvarsall.batN(R6RRRRtdebugRR[RtisdirtenvirontgetRbtpardirtabspathtisfile(R:R7R?ttoolskeyttoolsdirt vcvarsall((s-/usr/lib/python2.6/distutils/msvc9compiler.pytfind_vcvarsallÙs2      !   c Cs´t|ƒ}tdƒ}h}|djotdƒ‚ntid||ƒtid||fdtid tiƒ}|i ƒ\}}|i ƒd jot|i d ƒƒ‚n|i d ƒ}x¬|i d ƒD]›}t i|ƒ}d |joqÖn|iƒ}|i d dƒ\} } | iƒ} | |jo5| itiƒo| d } nt| ƒ|| |)R°s*\s*twbs-outputresource:%s;%ssmt.exes-nologos -manifestsskipping %s (up-to-date)(&R•R¯RÚt _fix_lib_argstwarnRƒRRR[RRbRÜRt EXECUTABLERªR©RRÆR±RµRÛRÂtmkpathRÅR RRtopentreadtclosetreRÙtDOTALLROtwritetIOErrorRRi(R9t target_descRÍRßR¼t librariest library_dirstruntime_library_dirstexport_symbolsRiRÉRÊt build_tempRÞt fixed_argstlib_optstldflagst export_optstsymtld_argstdll_nametdll_extt implib_filet temp_manifestRÕtmfidt manifest_ft manifest_buftpatterntout_arg((s-/usr/lib/python2.6/distutils/msvc9compiler.pytlink3s’                 cCsd|S(Ns /LIBPATH:((R9tdir((s-/usr/lib/python2.6/distutils/msvc9compiler.pytlibrary_dir_option¶scCstdƒ‚dS(Ns<don't know how to set runtime library search path for MSVC++(R(R9R((s-/usr/lib/python2.6/distutils/msvc9compiler.pytruntime_library_dir_option¹scCs |i|ƒS(N(RÛ(R9Ru((s-/usr/lib/python2.6/distutils/msvc9compiler.pytlibrary_option½scCs„|o|d|g}n |g}xY|D]M}xD|D]<}tii||i|ƒƒ}tii|ƒo|Sq8Wq+WdSdS(Nt_d(R[RRbRÛtexistsR(R9tdirsRuRit try_namesRR&tlibfile((s-/usr/lib/python2.6/distutils/msvc9compiler.pytfind_library_fileÁs  cCs«xJ|iD]?}tiitii|ƒ|ƒ}tii|ƒo|Sq WxWtididƒD]?}tiitii|ƒ|ƒ}tii|ƒo|SqdW|S(sŒReturn path to an MSVC executable program. Tries to find the program 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'. tPathRœ(R‘R[RRbRnRoRkRT(R9texeRJtfn((s-/usr/lib/python2.6/distutils/msvc9compiler.pyRžÓs ! ! N(R/R0R1t compiler_typet executablesRÃRÄR¶R¸R´R·R¹tstatic_lib_extensiontshared_lib_extensiontstatic_lib_formattshared_lib_formatt exe_extensionR;RR¯RÀRÙRáRRRRRRž(((s-/usr/lib/python2.6/distutils/msvc9compiler.pyRŒ&sL     Y  V  v    l(((2R1t __revision__R[R{RQRëtdistutils.errorsRRRRRtdistutils.ccompilerRRRt distutilsRtdistutils.utilR t_winregt OpenKeyExRtEnumKeyRt EnumValueR#terrorRt HKEY_USERStHKEY_CURRENT_USERtHKEY_LOCAL_MACHINEtHKEY_CLASSES_ROOTRtplatformtmaxsizet NATIVE_WIN64R6RHRGR£RR4RZR`RgRsR‹RŽRŒ(((s-/usr/lib/python2.6/distutils/msvc9compiler.pytsR    (        >.   # %