/opt/alt/python27/lib64/python2.7/distutils
NameSizeModeActions
command/-0755rm
archive_util.py82190644editdlrm
archive_util.pyc77050644editdlrm
archive_util.pyo77050644editdlrm
bcppcompiler.py149410644editdlrm
bcppcompiler.pyc79990644editdlrm
bcppcompiler.pyo79990644editdlrm
ccompiler.py467260644editdlrm
ccompiler.pyc375970644editdlrm
ccompiler.pyo374560644editdlrm
cmd.py192700644editdlrm
cmd.pyc172850644editdlrm
cmd.pyo172850644editdlrm
config.py41340644editdlrm
config.pyc36560644editdlrm
config.pyo36560644editdlrm
core.py90190644editdlrm
core.pyc75880644editdlrm
core.pyo75880644editdlrm
cygwinccompiler.py177350644editdlrm
cygwinccompiler.pyc99810644editdlrm
cygwinccompiler.pyo99810644editdlrm
debug.py1620644editdlrm
debug.pyc2670644editdlrm
debug.pyo2670644editdlrm
dep_util.py35090644editdlrm
dep_util.pyc32320644editdlrm
dep_util.pyo32320644editdlrm
dir_util.py78680644editdlrm
dir_util.pyc68770644editdlrm
dir_util.pyo68770644editdlrm
dist.py500490644editdlrm
dist.pyc400470644editdlrm
dist.pyo400470644editdlrm
emxccompiler.py119310644editdlrm
emxccompiler.pyc75840644editdlrm
emxccompiler.pyo75840644editdlrm
errors.py34940644editdlrm
errors.pyc65450644editdlrm
errors.pyo65450644editdlrm
extension.py109040644editdlrm
extension.pyc74640644editdlrm
extension.pyo72380644editdlrm
fancy_getopt.py179480644editdlrm
fancy_getopt.pyc122310644editdlrm
fancy_getopt.pyo120540644editdlrm
filelist.py126890644editdlrm
filelist.pyc109770644editdlrm
filelist.pyo109770644editdlrm
file_util.py81310644editdlrm
file_util.pyc68150644editdlrm
file_util.pyo68150644editdlrm
log.py16860644editdlrm
log.pyc29420644editdlrm
log.pyo29420644editdlrm
msvc9compiler.py310040644editdlrm
msvc9compiler.pyc219000644editdlrm
msvc9compiler.pyo218270644editdlrm
msvccompiler.py236370644editdlrm
msvccompiler.pyc178630644editdlrm
msvccompiler.pyo178630644editdlrm
README2950644editdlrm
spawn.py86480644editdlrm
spawn.pyc65180644editdlrm
spawn.pyo65180644editdlrm
sysconfig.py177070644editdlrm
sysconfig.py.debug-build176220644editdlrm
sysconfig.pyc136090644editdlrm
sysconfig.pyo136090644editdlrm
text_file.py124280644editdlrm
text_file.pyc94020644editdlrm
text_file.pyo94020644editdlrm
unixccompiler.py142220644editdlrm
unixccompiler.py.distutils-rpath136770644editdlrm
unixccompiler.pyc83850644editdlrm
unixccompiler.pyo83850644editdlrm
util.py182360644editdlrm
util.pyc145680644editdlrm
util.pyo145680644editdlrm
version.py114330644editdlrm
version.pyc74030644editdlrm
version.pyo74030644editdlrm
versionpredicate.py50950644editdlrm
versionpredicate.pyc56330644editdlrm
versionpredicate.pyo56330644editdlrm
__init__.py2360644editdlrm
__init__.pyc4280644editdlrm
__init__.pyo4280644editdlrm
Edit: /opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyo (21827B)
 [ bc@sdZdZddlZddlZddlZddlZddlmZmZm Z m Z m Z ddl m Z mZddlmZddlmZddlZejZejZejZejZejejejejfZ ej!dkoej"d%kZ#e#r'd Z$d Z%d Z&dZ'ndZ$dZ%dZ&dZ'idd6dd6dd6Z(dd&dYZ)dd'dYZ*dZ+dZ,dZ-dZ.dd Z/e+Z0e0d!kred"e0nd#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. s$Id$iN(tDistutilsExecErrortDistutilsPlatformErrort CompileErrortLibErrort LinkError(t CCompilertgen_lib_options(tlog(t get_platformtwin32ii s1Software\Wow6432Node\Microsoft\VisualStudio\%0.1fs.Software\Wow6432Node\Microsoft\VCExpress\%0.1fs5Software\Wow6432Node\Microsoft\Microsoft SDKs\Windowss,Software\Wow6432Node\Microsoft\.NETFrameworks%Software\Microsoft\VisualStudio\%0.1fs"Software\Microsoft\VCExpress\%0.1fs)Software\Microsoft\Microsoft SDKs\Windowss Software\Microsoft\.NETFrameworktx86tamd64s win-amd64tia64swin-ia64tRegcBsbeZdZdZeeZdZeeZdZeeZdZeeZRS(s2Helper class to read values from the registry cCsMx:tD]2}|j||}|r||kr||SqWt|dS(N(tHKEYSt read_valuestKeyError(tclstpathtkeytbasetd((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyt get_valueDs   cCsyt||}Wntk r'dSXg}d}xItryt||}Wntk rdPnX|j||d7}q7W|S(sReturn list of registry keys.iiN(t RegOpenKeyExtRegErrortNonetTruet RegEnumKeytappend(RRRthandletLtitk((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyt read_keysLs    c Csyt||}Wntk r'dSXi}d}xmtryt||\}}}Wntk rmPnX|j}|j|||j|<|d7}q7W|S(s`Return dict of registry keys and values. All names are converted to lowercase. iiN(RRRRt RegEnumValuetlowert convert_mbcs( RRRRRRtnametvaluettype((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyR^s    cCsIt|dd}|dk rEy|d}WqEtk rAqEXn|S(Ntdecodetmbcs(tgetattrRt UnicodeError(tstdec((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyR$ts  ( t__name__t __module__t__doc__Rt classmethodR!RR$t staticmethod(((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyR @s       t MacroExpandercBs,eZdZdZdZdZRS(cCs'i|_t||_|j|dS(N(tmacrostVS_BASEtvsbaset load_macros(tselftversion((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyt__init__s  cCs!tj|||jd|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(R5R RRRtVSEXPRESS_BASERtdebugRYRtisdirtenvirontgetR`tpardirtabspathtisfile(R9R6R>ttoolskeyttoolsdirt vcvarsall((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pytfind_vcvarsalls@           !  c Cst|}td}i}|dkr9tdntjd||tjd||fdtjd tj}z|j \}}|j d krt|j d n|j d }x|j d D]}t j|}d |krqn|j}|j d d\} } | j} | |kr| jtjrW| d } nt| || |dkrd}ng}x|D]}tjj|\}}tjj|d}|tjj|}||jkrtd|n|rtjj|}n||j kr|j tjj |||j q"||j kr|j tjj |||j q"|j tjj |||jq"W|S(NRisDon't know how to compile %s(RRYRtsplitextt splitdrivetisabstsrc_extensionsRtbasenamet_rc_extensionsRR`t res_extensiont_mc_extensionst obj_extension(R8tsource_filenamest strip_dirt output_dirt obj_namestsrc_nameRtext((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pytobject_filenamess(  c Cs|js|jn|j||||||} | \}} }} } |pRg} | jd|r{| j|jn| j|jxV| D]N}y| |\}}Wntk rqnX|rtj j |}n||j krd|}n||j krd|}nq||j kr|}d|}y)|j|jg| |g|gWqtk r}t|qXqn||jkrqtj j|}tj j|}y|j|jgd|d|g|gtj jtj j|\}}tj j||d}|j|jgd|g|gWqtk rj}t|qXqntd||fd |}y-|j|jg| | ||g|Wqtk r}t|qXqW| S( Ns/cs/Tcs/Tps/fos-hs-rs.rcs"Don't know how to compile %s to %ss/Fo(RRt_setup_compileRtextendRRRRYRRmt _c_extensionst_cpp_extensionsRtspawnRRRRtdirnameRRRR`R(R8tsourcesRR4t include_dirsRht extra_preargstextra_postargstdependst compile_infotobjectstpp_optstbuildt compile_optstobjtsrcRt input_optt output_opttmsgth_dirtrc_dirRRtrc_file((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pytcompilesj         # $$#  c Cs|js|jn|j||\}}|j|d|}|j||r|d|g}|rony|j|jg|Wqtk r}t|qXnt j d|dS(NRs/OUT:sskipping %s (up-to-date)( RRt_fix_object_argstlibrary_filenamet _need_linkRRtRRRRh( R8Rtoutput_libnameRRht target_langtoutput_filenametlib_argsR((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pytcreate_static_lib)s    cCs|js|jn|j||\}}|j|||}|\}}}|rr|jdt|nt||||}|dk rtj j ||}n|j ||r|t j kr| r|jd}q |jd}n| r|j}n |j}g}x%|pgD]}|jd|q W||||d|g}tj j|d} |dk rtj jtj j|\}}tj j | |j|}|jd|n|j|| || r| |d*n| r |j| n|jtj j|y|j|jg|Wntk ra}t|nX|j||}|dk r|\}}d||f}y |jdd d ||gWqtk r}t|qXqntjd |dS( Ns5I don't know what to do with 'runtime_library_dirs': is/EXPORT:s/OUT:is/IMPLIB:s-outputresource:%s;%ssmt.exes-nologos -manifestsskipping %s (up-to-date)(RRRt _fix_lib_argstwarnRRRRYRR`RRt EXECUTABLERRRRRRRtmanifest_setup_ldargsRtmkpathRRRRtmanifest_get_embed_infoRRh(R8t target_descRRRt librariest library_dirstruntime_library_dirstexport_symbolsRhRRt build_tempRt fixed_argstlib_optstldflagst export_optstsymtld_argstdll_nametdll_extt implib_fileRtmfinfot mffilenametmfidtout_arg((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pytlinkBsl               cCs:tjj|tjj|d}|jd|dS(Ns .manifests/MANIFESTFILE:(RYRR`RR(R8RRRt temp_manifest((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyRs cCsx;|D]/}|jdr|jddd}PqqWdS|tjkrVd}nd}|j|}|dkr{dS||fS(Ns/MANIFESTFILE:t:ii(t startswithRRRRRt_remove_visual_c_ref(R8RRtargRR((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyRs   cCsyt|}z|j}Wd|jXtjdtj}tj|d|}d}tj|d|}tjdtj}tj||dkrdSt|d}z|j ||SWd|jXWnt k rnXdS(NsU|)Rs*\s*sI|)tw( topentreadRtreRtDOTALLRMtsearchRtwritetIOError(R8t manifest_filet manifest_ft manifest_buftpattern((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyRs.      cCsd|S(Ns /LIBPATH:((R8tdir((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pytlibrary_dir_optionscCstddS(Ns<don't know how to set runtime library search path for MSVC++(R(R8R ((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pytruntime_library_dir_optionscCs |j|S(N(R(R8Rt((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pytlibrary_optionscCs|r|d|g}n |g}xW|D]K}xB|D]:}tjj||j|}tjj|r6|Sq6Wq)WdSdS(Nt_d(RYRR`RtexistsR(R8tdirsRtRht try_namesR R%tlibfile((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pytfind_library_files    cCsxH|jD]=}tjjtjj||}tjj|r |Sq WxUtjdjdD]=}tjjtjj||}tjj|rb|SqbW|S(sReturn 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(RRYRR`RmRnRjRR(R8texeRHtfn((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyR s !!N( R.R/R0t compiler_typet executablesRRRRRRRtstatic_lib_extensiontshared_lib_extensiontstatic_lib_formattshared_lib_formatt exe_extensionR:RRRRRRRRRR RRRR(((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pyR5sR     Y  V  R  +    I(((2R0t __revision__RYRzRORtdistutils.errorsRRRRRtdistutils.ccompilerRRt distutilsRtdistutils.utilRt_winregt OpenKeyExRtEnumKeyRt EnumValueR"terrorRt HKEY_USERStHKEY_CURRENT_USERtHKEY_LOCAL_MACHINEtHKEY_CLASSES_ROOTRtplatformtmaxsizet NATIVE_WIN64R5RgRGRFRR R3RXR^ReRrRRR(((s</opt/alt/python27/lib64/python2.7/distutils/msvc9compiler.pytsV    (        >.   , )