/usr/lib64/python2.7/distutils
NameSizeModeActions
command/-0755rm
archive_util.py82190644editdlrm
archive_util.pyc76010644editdlrm
archive_util.pyo76010644editdlrm
bcppcompiler.py149410644editdlrm
bcppcompiler.pyc78820644editdlrm
bcppcompiler.pyo78820644editdlrm
ccompiler.py467260644editdlrm
ccompiler.pyc368820644editdlrm
ccompiler.pyo367410644editdlrm
cmd.py192700644editdlrm
cmd.pyc168040644editdlrm
cmd.pyo168040644editdlrm
config.py41340644editdlrm
config.pyc35650644editdlrm
config.pyo35650644editdlrm
core.py90190644editdlrm
core.pyc75360644editdlrm
core.pyo75360644editdlrm
cygwinccompiler.py177350644editdlrm
cygwinccompiler.pyc98250644editdlrm
cygwinccompiler.pyo98250644editdlrm
debug.py1620644editdlrm
debug.pyc2540644editdlrm
debug.pyo2540644editdlrm
dep_util.py35090644editdlrm
dep_util.pyc31800644editdlrm
dep_util.pyo31800644editdlrm
dir_util.py78680644editdlrm
dir_util.pyc67860644editdlrm
dir_util.pyo67860644editdlrm
dist.py500490644editdlrm
dist.pyc391760644editdlrm
dist.pyo391760644editdlrm
emxccompiler.py119310644editdlrm
emxccompiler.pyc74670644editdlrm
emxccompiler.pyo74670644editdlrm
errors.py34940644editdlrm
errors.pyc62850644editdlrm
errors.pyo62850644editdlrm
extension.py109040644editdlrm
extension.pyc74120644editdlrm
extension.pyo71860644editdlrm
fancy_getopt.py179480644editdlrm
fancy_getopt.pyc119580644editdlrm
fancy_getopt.pyo117810644editdlrm
filelist.py126890644editdlrm
filelist.pyc107560644editdlrm
filelist.pyo107560644editdlrm
file_util.py81310644editdlrm
file_util.pyc67500644editdlrm
file_util.pyo67500644editdlrm
log.py16860644editdlrm
log.pyc27860644editdlrm
log.pyo27860644editdlrm
msvc9compiler.py310040644editdlrm
msvc9compiler.pyc214970644editdlrm
msvc9compiler.pyo214240644editdlrm
msvccompiler.py236370644editdlrm
msvccompiler.pyc175250644editdlrm
msvccompiler.pyo175250644editdlrm
README2950644editdlrm
spawn.py86480644editdlrm
spawn.pyc64270644editdlrm
spawn.pyo64270644editdlrm
sysconfig.py177070644editdlrm
sysconfig.py.debug-build176220644editdlrm
sysconfig.pyc134040644editdlrm
sysconfig.pyo134040644editdlrm
text_file.py124280644editdlrm
text_file.pyc92590644editdlrm
text_file.pyo92590644editdlrm
unixccompiler.py142220644editdlrm
unixccompiler.py.distutils-rpath136770644editdlrm
unixccompiler.pyc82290644editdlrm
unixccompiler.pyo82290644editdlrm
util.py182360644editdlrm
util.pyc143860644editdlrm
util.pyo143860644editdlrm
version.py114330644editdlrm
version.pyc72080644editdlrm
version.pyo72080644editdlrm
versionpredicate.py50950644editdlrm
versionpredicate.pyc55420644editdlrm
versionpredicate.pyo55420644editdlrm
__init__.py2360644editdlrm
__init__.pyc4150644editdlrm
__init__.pyo4150644editdlrm
Edit: /usr/lib64/python2.7/distutils/msvc9compiler.pyc (21497B)
 {fc@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//usr/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//usr/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//usr/lib64/python2.7/distutils/msvc9compiler.pyR^s    cCsIt|dd}|dk rEy|d}WqEtk rAqEXn|S(Ntdecodetmbcs(tgetattrRt UnicodeError(tstdec((s//usr/lib64/python2.7/distutils/msvc9compiler.pyR$ts  ( t__name__t __module__t__doc__Rt classmethodR!RR$t staticmethod(((s//usr/lib64/python2.7/distutils/msvc9compiler.pyR @s       t MacroExpandercBs,eZdZdZdZdZRS(cCs'i|_t||_|j|dS(N(tmacrostVS_BASEtvsbaset load_macros(tselftversion((s//usr/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//usr/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//usr/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//usr/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//usr/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//usr/lib64/python2.7/distutils/msvc9compiler.pytlinkBsl               cCs:tjj|tjj|d}|jd|dS(Ns .manifests/MANIFESTFILE:(RYRR`RR(R8RRRt temp_manifest((s//usr/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//usr/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//usr/lib64/python2.7/distutils/msvc9compiler.pyRs.      cCsd|S(Ns /LIBPATH:((R8tdir((s//usr/lib64/python2.7/distutils/msvc9compiler.pytlibrary_dir_optionscCstddS(Ns<don't know how to set runtime library search path for MSVC++(R(R8R ((s//usr/lib64/python2.7/distutils/msvc9compiler.pytruntime_library_dir_optionscCs |j|S(N(R(R8Rt((s//usr/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//usr/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//usr/lib64/python2.7/distutils/msvc9compiler.pyR s !!N( R.R/R0t compiler_typet executablesRRRRRRRtstatic_lib_extensiontshared_lib_extensiontstatic_lib_formattshared_lib_formatt exe_extensionR:RRRRRRRRRRRRRR(((s//usr/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//usr/lib64/python2.7/distutils/msvc9compiler.pytsV    (        >.   , )