/opt/alt/python38/lib64/python3.8/distutils/__pycache__
NameSizeModeActions
archive_util.cpython-38.opt-1.pyc65540644editdlrm
archive_util.cpython-38.opt-2.pyc45120644editdlrm
archive_util.cpython-38.pyc65540644editdlrm
bcppcompiler.cpython-38.opt-1.pyc65380644editdlrm
bcppcompiler.cpython-38.opt-2.pyc62500644editdlrm
bcppcompiler.cpython-38.pyc65380644editdlrm
ccompiler.cpython-38.opt-1.pyc331850644editdlrm
ccompiler.cpython-38.opt-2.pyc168790644editdlrm
ccompiler.cpython-38.pyc333120644editdlrm
cmd.cpython-38.opt-1.pyc139630644editdlrm
cmd.cpython-38.opt-2.pyc80970644editdlrm
cmd.cpython-38.pyc139630644editdlrm
config.cpython-38.opt-1.pyc35240644editdlrm
config.cpython-38.opt-2.pyc31330644editdlrm
config.cpython-38.pyc35240644editdlrm
core.cpython-38.opt-1.pyc66290644editdlrm
core.cpython-38.opt-2.pyc32420644editdlrm
core.cpython-38.pyc66290644editdlrm
cygwinccompiler.cpython-38.opt-1.pyc86270644editdlrm
cygwinccompiler.cpython-38.opt-2.pyc69970644editdlrm
cygwinccompiler.cpython-38.pyc86270644editdlrm
debug.cpython-38.opt-1.pyc2090644editdlrm
debug.cpython-38.opt-2.pyc2090644editdlrm
debug.cpython-38.pyc2090644editdlrm
dep_util.cpython-38.opt-1.pyc27290644editdlrm
dep_util.cpython-38.opt-2.pyc12850644editdlrm
dep_util.cpython-38.pyc27290644editdlrm
dir_util.cpython-38.opt-1.pyc58380644editdlrm
dir_util.cpython-38.opt-2.pyc34600644editdlrm
dir_util.cpython-38.pyc58380644editdlrm
dist.cpython-38.opt-1.pyc345070644editdlrm
dist.cpython-38.opt-2.pyc252160644editdlrm
dist.cpython-38.pyc345070644editdlrm
errors.cpython-38.opt-1.pyc52650644editdlrm
errors.cpython-38.opt-2.pyc27170644editdlrm
errors.cpython-38.pyc52650644editdlrm
extension.cpython-38.opt-1.pyc69380644editdlrm
extension.cpython-38.opt-2.pyc34480644editdlrm
extension.cpython-38.pyc69380644editdlrm
fancy_getopt.cpython-38.opt-1.pyc105270644editdlrm
fancy_getopt.cpython-38.opt-2.pyc77240644editdlrm
fancy_getopt.cpython-38.pyc106710644editdlrm
filelist.cpython-38.opt-1.pyc97920644editdlrm
filelist.cpython-38.opt-2.pyc69210644editdlrm
filelist.cpython-38.pyc98820644editdlrm
file_util.cpython-38.opt-1.pyc59480644editdlrm
file_util.cpython-38.opt-2.pyc38110644editdlrm
file_util.cpython-38.pyc59480644editdlrm
log.cpython-38.opt-1.pyc23300644editdlrm
log.cpython-38.opt-2.pyc22690644editdlrm
log.cpython-38.pyc23300644editdlrm
msvc9compiler.cpython-38.opt-1.pyc174660644editdlrm
msvc9compiler.cpython-38.opt-2.pyc158450644editdlrm
msvc9compiler.cpython-38.pyc175250644editdlrm
msvccompiler.cpython-38.opt-1.pyc147380644editdlrm
msvccompiler.cpython-38.opt-2.pyc131630644editdlrm
msvccompiler.cpython-38.pyc147380644editdlrm
spawn.cpython-38.opt-1.pyc51210644editdlrm
spawn.cpython-38.opt-2.pyc38170644editdlrm
spawn.cpython-38.pyc51210644editdlrm
sysconfig.cpython-38.opt-1.pyc121520644editdlrm
sysconfig.cpython-38.opt-2.pyc86670644editdlrm
sysconfig.cpython-38.pyc121520644editdlrm
text_file.cpython-38.opt-1.pyc84540644editdlrm
text_file.cpython-38.opt-2.pyc33560644editdlrm
text_file.cpython-38.pyc84540644editdlrm
unixccompiler.cpython-38.opt-1.pyc69990644editdlrm
unixccompiler.cpython-38.opt-2.pyc63700644editdlrm
unixccompiler.cpython-38.pyc69990644editdlrm
util.cpython-38.opt-1.pyc155610644editdlrm
util.cpython-38.opt-2.pyc96770644editdlrm
util.cpython-38.pyc155610644editdlrm
version.cpython-38.opt-1.pyc72810644editdlrm
version.cpython-38.opt-2.pyc39960644editdlrm
version.cpython-38.pyc73260644editdlrm
versionpredicate.cpython-38.opt-1.pyc51500644editdlrm
versionpredicate.cpython-38.opt-2.pyc26700644editdlrm
versionpredicate.cpython-38.pyc51500644editdlrm
_msvccompiler.cpython-38.opt-1.pyc129220644editdlrm
_msvccompiler.cpython-38.opt-2.pyc117720644editdlrm
_msvccompiler.cpython-38.pyc129810644editdlrm
__init__.cpython-38.opt-1.pyc3990644editdlrm
__init__.cpython-38.opt-2.pyc2170644editdlrm
__init__.cpython-38.pyc3990644editdlrm
Edit: /opt/alt/python38/lib64/python3.8/distutils/__pycache__/_msvccompiler.cpython-38.pyc (12981B)
U ifRN@sdZddlZddlZddlZddlZddlZddlmZmZm Z m Z m Z ddl m Z mZddlmZddlmZddlmZdd Zd d Zd d dddZddZddZdddZd ddddZGddde ZdS)adistutils._msvccompiler Contains MSVCCompiler, an implementation of the abstract CCompiler class for Microsoft Visual Studio 2015. The module is compatible with VS 2015 and later. You can find legacy support for older versions in distutils.msvc9compiler and distutils.msvccompiler. N)DistutilsExecErrorDistutilsPlatformError CompileErrorLibError LinkError) CCompilergen_lib_options)log) get_platform)countc CsztjtjdtjtjBd}Wn tk r>tdYdSXd}d}|tD]}zt ||\}}}Wntk rYqYnX|rT|tj krTt j |rTztt|}Wnttfk rYqTYnX|dkrT||krT||}}qTW5QRX||fS)Nz'Software\Microsoft\VisualStudio\SxS\VC7)accesszVisual C++ is not registeredNNr)winregZ OpenKeyExHKEY_LOCAL_MACHINEZKEY_READZKEY_WOW64_32KEYOSErrorr debugr Z EnumValueZREG_SZospathisdirintfloat ValueError TypeError)key best_versionbest_dirivZvc_dirZvtversionr wsz_get_vc_env..zUnable to find vcvarsall.batzcmd /u /c "{}" {} && set)stderrzutf-16lereplace)r'zError executing {}cSs$i|]\}}}|r|r||qSr r=)r?rr:r@r r r!rAs css|]}|dVqdS)=N) partition)r?liner r r! sz_get_vc_env..)rgetenvr*itemsr<rr,r-formatZSTDOUTdecoder0r erroroutputcmd splitlines)r9r;r:outexcenvr r r! _get_vc_envus0     rScCsN|stdtj}|D].}tjtj||}tj|r|Sq|S)atReturn 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'. r)rrHsplitpathseprr.abspathr8)Zexepathspfnr r r! _find_exes   rZr5r6r7)Zwin32z win-amd64z win-arm32z win-arm64c seZdZdZdZiZdgZdddgZdgZdgZ eeee Z d Z d Z d Z d Zd ZZdZd(ddZd)ddZd*ddZd+ddZd,ddZd-ddZfddZd d!Zd"d#Zd$d%Zd.d&d'ZZS)/ MSVCCompilerzwConcrete class that implements an interface to Microsoft Visual C++, as defined by the CCompiler abstract class.Zmsvcz.cz.ccz.cppz.cxx.rcz.mcz.resz.objz.libz.dllz%s%sz.exercCs t||||d|_d|_dS)NF)r__init__ plat_name initialized)selfverboseZdry_runZforcer r r!r]szMSVCCompiler.__init__NcCs |jrtd|dkrt}|tkr6tdttt|}t|}|sRtd|dd|_ |j t j }t d||_t d||_t d||_t d ||_t d ||_t d ||_|d d t j D]}|r||t jq|d d t j D]}|r||t jqd|_ddddddg|_ddddddg|_dddg}ddddg}|d!|_|d"|_|d#|_|d$|_||_||_ t!j"df|jt!j"df|jt!j"d f|jt!j#df|jt!j#df|jt!j#d f|jt!j$df|jt!j$df|jt!j$d f|j i |_%d |_dS)%Nzdon't init multiple timesz--plat-name must be one of {}z7Unable to find a compatible Visual Studio installation.rzcl.exezlink.exezlib.exezrc.exezmc.exezmt.exeZincludelibz/nologoz/Oxz/W3z/GLz/DNDEBUGz/MDz/Odz/MDdz/Ziz/D_DEBUGz/INCREMENTAL:NOz/LTCGz /DEBUG:FULL/MANIFEST:EMBED,ID=1/DLL/MANIFEST:EMBED,ID=2/MANIFESTUAC:NOFT)rd)rd)rerfrg)rerfrg)&r_AssertionErrorr PLAT_TO_VCVARSrrJtuplerSr+_pathsrTrrUrZcclinkerrcrcmcZmtZadd_include_dirrstripsepZadd_library_dirZpreprocess_optionscompile_optionscompile_options_debugZ ldflags_exeZldflags_exe_debugZldflags_sharedZldflags_shared_debugZldflags_staticZldflags_static_debugrZ EXECUTABLEZ SHARED_OBJECTZSHARED_LIBRARY_ldflags)r`r^r9Zvc_envrWdirldflagsZ ldflags_debugr r r! initializes           zMSVCCompiler.initializerbcsTfddjDfddjjDp4dfdd}tt||S)Ncsi|] }|jqSr ) obj_extensionr?extr`r r!rA&sz1MSVCCompiler.object_filenames..csi|] }|jqSr ) res_extensionryr{r r!rA'srbcstj|\}}r"tj|}n2tj|\}}|tjjtjjfrT|dd}ztj||WSt k rt d |YnXdS)NzDon't know how to compile {}) rrsplitextbasename splitdrive startswithrqaltsepr. LookupErrorrrJ)rXbaserzr:)ext_map output_dir strip_dirr r! make_out_path,s z4MSVCCompiler.object_filenames..make_out_path)src_extensions_rc_extensions_mc_extensionslistmap)r`Zsource_filenamesrrrr )rrr`rr!object_filenames!s zMSVCCompiler.object_filenamesc  Cs|js||||||||} | \}} }} } |p6g} | d|rT| |jn | |jd}| D]}z| |\}}Wntk rYqhYnX|rtj |}||j krd|}nD||j krd|}d}n*||j kr@|}d|}z||jg| ||gWqhtk r:}z t|W5d}~XYqhXqhn||jkrtj |}tj |}z\||jd|d||gtj tj |\}}tj ||d }||jd||gWqhtk r}z t|W5d}~XYqhXqhntd |||jg| | }|r"|d |||d |||z||Wqhtk r~}z t|W5d}~XYqhXqh| S) Nz/cFz/Tcz/TpTz/foz-hz-rr\z"Don't know how to compile {} to {}z/EHscz/Fo)r_rwZ_setup_compileappendextendrsrrKeyErrorrrrV _c_extensions_cpp_extensionsrspawnrnrrrdirnameror~rr.rJrl)r`ZsourcesrZmacrosZ include_dirsr extra_preargsextra_postargsZdependsZ compile_infoobjectsZpp_optsZbuildZ compile_optsZ add_cpp_optsobjsrcrzZ input_optZ output_optmsgZh_dirZrc_dirrr:Zrc_fileargsr r r!compileBsx               zMSVCCompiler.compilec Cs|js||||\}}|j||d}|||r|d|g}|rJz,td|jd|| |jg|Wqt k r}z t |W5d}~XYqXn td|dS)N)r/OUT:Executing "%s" %s skipping %s (up-to-date)) r_rw_fix_object_argslibrary_filename _need_linkr rrcr.rrr) r`rZoutput_libnamerr target_langoutput_filenameZlib_argsrr r r!create_static_libs zMSVCCompiler.create_static_libc Cs|js||||\}}||||}|\}}}|rL|dt|t||||}|dk rptj ||}| ||r|j || f}dd|pgD}||||d|g}tj |d} |dk r tj tj|\}}tj | ||}|d|| r| |dd<| r.|| tj tj|}||z,td|jd |||jg|Wn,tk r}z t|W5d}~XYnXn td |dS) Nz5I don't know what to do with 'runtime_library_dirs': cSsg|] }d|qS)z/EXPORT:r )r?Zsymr r r! sz%MSVCCompiler.link..rrz/IMPLIB:rrr)r_rwrZ _fix_lib_argswarnstrrrrr.rrtrr~rrrrrVZmkpathr rrmrrr)r`Z target_descrrrZ librariesZ library_dirsZruntime_library_dirsZexport_symbolsrrrZ build_temprZ fixed_argsZlib_optsrvZ export_optsZld_argsZdll_nameZdll_extZ implib_filerr r r!links`       zMSVCCompiler.linkc s8td}z|jtjd<t|WS|tjd<XdS)Nr)rrHr*rksuperr)r`rNZold_path __class__r r!rs   zMSVCCompiler.spawncCsd|S)Nz /LIBPATH:r r`rur r r!library_dir_optionszMSVCCompiler.library_dir_optioncCs tddS)Nz:don't know how to set runtime library search path for MSVC)rrr r r!runtime_library_dir_option sz'MSVCCompiler.runtime_library_dir_optioncCs ||S)N)r)r`rcr r r!library_optionszMSVCCompiler.library_optioncCs\|r|d|g}n|g}|D]:}|D]0}tj|||}tj|r$|Sq$qdS)NZ_d)rrr.rr8)r`dirsrcrZ try_namesrunameZlibfiler r r!find_library_files zMSVCCompiler.find_library_file)rrr)N)rrb)NNNrNNN)NrN) NNNNNrNNNN)r)__name__ __module__ __qualname____doc__Z compiler_typeZ executablesrrrrrr|rxZstatic_lib_extensionZshared_lib_extensionZstatic_lib_formatZshared_lib_formatZ exe_extensionr]rwrrrrrrrrr __classcell__r r rr!r[sf   P " ]  E r[)N)rrZshutilstatr,rZdistutils.errorsrrrrrZdistutils.ccompilerrrZ distutilsr Zdistutils.utilr itertoolsr r"r3ZPLAT_SPEC_TO_RUNTIMEr<rSrZrir[r r r r!s4   #