/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 (14738B)
U if \ @sdZddlZddlZddlmZmZmZmZmZddl m Z m Z m Z ddl mZdZz,ddlZdZeZejZejZejZejZWnhek rz4ddlZddlZdZeZejZejZejZejZWnek redYnXYnXerejejej ej!fZ"d d Z#d d Z$d dZ%GdddZ&ddZ'ddZ(ddZ)Gddde Z*e'dkre+de*Z,ddl-m*Z*ddl-m&Z&dS)zdistutils.msvccompiler Contains MSVCCompiler, an implementation of the abstract CCompiler class for the Microsoft Visual Studio. N)DistutilsExecErrorDistutilsPlatformError CompileErrorLibError LinkError) CCompilergen_preprocess_optionsgen_lib_options)logFTzWarning: Can't read registry to find the necessary compiler setting Make sure that Python modules winreg, win32api or win32con are installed.cCsnzt||}Wntk r$YdSXg}d}zt||}Wntk rTYqjYnX|||d7}q.|S)zReturn list of registry keys.Nr) RegOpenKeyExRegError RegEnumKeyappend)basekeyhandleLikr;/opt/alt/python38/lib64/python3.8/distutils/msvccompiler.py read_keys7s   rcCszt||}Wntk r$YdSXi}d}zt||\}}}Wntk rZYq~YnX|}t||t|<|d7}q.|S)zXReturn dict of registry keys and values. All names are converted to lowercase. Nrr )r r RegEnumValuelower convert_mbcs)rrrdrnamevaluetyperrr read_valuesHs  r cCs:t|dd}|dk r6z |d}Wntk r4YnX|S)Ndecodembcs)getattr UnicodeError)sZdecrrrr]s  rc@s,eZdZddZddZddZddZd S) MacroExpandercCsi|_||dSN)macros load_macros)selfversionrrr__init__gszMacroExpander.__init__cCs2tD](}t||}|r|||jd|<q.qdS)Nz$(%s))HKEYSr r()r*Zmacropathrrrrrr set_macroks  zMacroExpander.set_macroc Csd|}|d|dd|d|ddd}|d|d z*|d krX|d |d n|d |d Wn*tk r}z tdW5d}~XYnXd}tD]V}zt||}Wntk rYqYnXt|d}t|d||f} | d|jd<qdS)Nz%Software\Microsoft\VisualStudio\%0.1fZ VCInstallDirz \Setup\VCZ productdirZ VSInstallDirz \Setup\VSz Software\Microsoft\.NETFrameworkZ FrameworkDirZ installrootg@ZFrameworkSDKDirzsdkinstallrootv1.1ZsdkinstallrootaPython was built with Visual Studio 2003; extensions must be built with a compiler than can generate compatible binaries. Visual Studio 2003 was not found on this system. If you have Cygwin installed, you can try compiling with MingW32, by passing "-c mingw32" to setup.py.z.Software\Microsoft\NET Framework Setup\Productrz%s\%sr+z$(FrameworkVersion)) r/KeyErrorrr-r r rr r() r*r+ZvsbaseZnetexcprhrrrrrr)rs,  zMacroExpander.load_macroscCs$|jD]\}}|||}q |Sr')r(itemsreplace)r*r%rvrrrsubszMacroExpander.subN)__name__ __module__ __qualname__r,r/r)r7rrrrr&fsr&cCsd}tj|}|dkrdS|t|}tj|ddd\}}t|ddd}|dkrf|d7}t|d d d }|dkrd }|dkr||SdS) zReturn the version of MSVC that was used to build Python. For Python 2.3 and up, the version number is included in sys.version. For earlier versions, assume the compiler is MSVC 6. zMSC v.N r g$@r)sysr+findlensplitint)prefixrr%restZ majorVersionZ minorVersionrrrget_build_versions  rIcCs@d}tj|}|dkrdStjd|}tj|t||S)zUReturn the processor architecture. Possible results are "Intel" or "AMD64". z bit (r;Intel))rBr+rCrD)rGrjrrrget_build_architectures  rMcCs0g}|D]"}tj|}||kr||q|S)znReturn a list of normalized paths with duplicates removed. The current order of paths is maintained. )osr.normpathr)pathsZ reduced_pathsr2Znprrrnormalize_and_reduce_pathss   rQc @seZdZdZdZiZdgZdddgZdgZdgZ eeee Z d Z d Z d Z d Zd ZZdZd-ddZddZd.ddZd/ddZd0ddZd1ddZddZd d!Zd"d#Zd2d$d%Zd&d'Zd3d)d*Zd+d,ZdS)4 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.exercCsvt||||t|_t|_|jdkr\|jdkrHd|_t|j|_nd|_d|j|_ nd|jd|_ d|_ dS) NrJzSoftware\Microsoft\VisualStudiozSoftware\Microsoft\DevstudiozVisual Studio version %szMicrosoft SDK compiler %sr<F) rr,rI_MSVCCompiler__versionrM_MSVCCompiler__arch_MSVCCompiler__rootr&_MSVCCompiler__macros_MSVCCompiler__product initialized)r*verboseZdry_runZforcerrrr,s  zMSVCCompiler.__init__cCsg|_dtjkrDdtjkrD|drDd|_d|_d|_d|_d|_nx| d|_t |jd krlt d |j |d|_|d|_|d|_|d|_|d|_| d | d z&tjdd D]}|j|qWntk rYnXt|j|_d |jtjd<d|_|jdkrPddddddg|_dddddddg|_n&ddddddg|_dddddddg|_dddg|_|jdkrddddg|_ndddddg|_dg|_d |_dS)!NZDISTUTILS_USE_SDKZMSSdkzcl.exezlink.exezlib.exezrc.exezmc.exer.rzxPython was built with %s, and extensions need to be built with the same version of the compiler, but it isn't installed.libZinclude;rJz/nologoz/Oxz/MDz/W3z/GXz/DNDEBUGz/Odz/MDdz/Z7z/D_DEBUGz/GS-z/DLLz/INCREMENTAL:NOrTz/INCREMENTAL:noz/DEBUGz /pdb:NoneT)_MSVCCompiler__pathsrNenvironfind_execclinkerr\rcmcget_msvc_pathsrDrrYset_path_env_varrErr0rQjoinZpreprocess_optionsrVcompile_optionscompile_options_debugldflags_sharedrUldflags_shared_debugZldflags_staticrZ)r*r2rrr initializesr                zMSVCCompiler.initializecCs|dkr d}g}|D]}tj|\}}tj|d}|tj|d}||jkrbtd||rrtj|}||jkr| tj |||j q||j kr| tj |||j q| tj |||j q|S)Nrmr zDon't know how to compile %s)rNr.splitext splitdriveisabssrc_extensionsrbasename_rc_extensionsrrg res_extension_mc_extensions obj_extension)r*Zsource_filenamesZ strip_dir output_dirZ obj_namesZsrc_namerextrrrobject_filenames8s.        zMSVCCompiler.object_filenamesNc  Csp|js||||||||} | \}} }} } |p6g} | d|rT| |jn | |j| D]}z| |\}}Wntk rYqdYnX|rtj |}||j krd|}nT||j krd|}n>||j kr<|}d|}z"||jg| |g|gWqdtk r6}z t|W5d}~XYqdXqdn||jkrtj |}tj |}zl||jgd|d|g|gtj tj |\}}tj ||d}||jgd|g|gWqdtk r}z t|W5d}~XYqdXqdntd||fd |}z&||jg| | ||g|Wqdtk rh}z t|W5d}~XYqdXqd| S) Nz/cz/Tcz/Tpz/foz-hz-rrSz"Don't know how to compile %s to %sz/Fo)rZrlZ_setup_compilerextendrirhr0rNr.abspath _c_extensions_cpp_extensionsrsspawnrcrrrudirnamerdrnrrrgra)r*Zsourcesrwr(Z include_dirsdebug extra_preargsextra_postargsZdependsZ compile_infoobjectsZpp_optsZbuildZ compile_optsobjsrcrxZ input_optZ output_optmsgZh_dirZrc_dirr_Zrc_filerrrcompileWs                   zMSVCCompiler.compilec Cs|js||||\}}|j||d}|||r|d|g}|rJz||jg|Wqtk r}z t|W5d}~XYqXn t d|dS)N)rw/OUT:skipping %s (up-to-date)) rZrl_fix_object_argslibrary_filename _need_linkr~r\rrr r) r*rZoutput_libnamerwr target_langoutput_filenameZlib_argsrrrrcreate_static_libs zMSVCCompiler.create_static_libc Cs|js||||\}}||||}|\}}}|rL|dt|t||||}|dk rptj ||}| ||r|t j kr| r|j dd}q|jdd}n| r|j }n|j}g}|pgD]}|d|q||||d|g}|dk rHtjtj|\}}tj tj|d||}|d|| rZ| |dd<| rj|| |tj|z||jg|Wn,tk r}z t|W5d}~XYnXn td|dS)Nz5I don't know what to do with 'runtime_library_dirs': r z/EXPORT:rrz/IMPLIB:r)rZrlrZ _fix_lib_argswarnstrr rNr.rgrrZ EXECUTABLErkrjrrnrrrrrzZmkpathr~rbrrr r)r*Z target_descrrrwZ librariesZ library_dirsZruntime_library_dirsZexport_symbolsrrrZ build_temprZ fixed_argsZlib_optsZldflagsZ export_optsZsymZld_argsZdll_nameZdll_extZ implib_filerrrrlinksj        zMSVCCompiler.linkcCsd|S)Nz /LIBPATH:rr*dirrrrlibrary_dir_optionszMSVCCompiler.library_dir_optioncCs tddS)Nz|jdkrt|j||dS||dSq>|jdkrtD]&}t|d|jdk r|d qqgS) zGet a list of devstudio directories (include, lib or path). Return a list of strings. The list will be empty if unable to access the registry or appropriate registry keys not found. z dirsrTz6%s\%0.1f\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Directoriesz?%s\6.0\Build System\Components\Platforms\Win32 (%s)\Directoriesr]r<z%s\6.0NzIt seems you have Visual Studio 6 installed, but the expected registry settings are not present. You must at least run the Visual Studio GUI once so that these entries are created.) _can_read_regrUrWr-r rXr7rEr)r*r.platformrrrrrrreKs,      zMSVCCompiler.get_msvc_pathscCs6|dkr|d}n ||}|r2d|tj|<dS)zSet environment variable 'name' to an MSVC path type value. This is equivalent to a SET command prior to execution of spawned commands. r\Zlibraryr]N)rergrNr_)r*rr2rrrrfos   zMSVCCompiler.set_path_env_var)rrr)rrm)NNNrNNN)NrN) NNNNNrNNNN)r)r)r8r9r:__doc__Z compiler_typeZ executablesr|r}rsrurqrtrvZstatic_lib_extensionZshared_lib_extensionZstatic_lib_formatZshared_lib_formatZ exe_extensionr,rlryrrrrrrrr`rerfrrrrrRsj  B  X  S  $rRg @z3Importing new compiler from distutils.msvc9compiler)rR)r&).rrBrNZdistutils.errorsrrrrrZdistutils.ccompilerrrr Z distutilsr rwinregZhkey_modZ OpenKeyExr ZEnumKeyrZ EnumValuererrorr ImportErrorZwin32apiZwin32coninfoZ HKEY_USERSHKEY_CURRENT_USERHKEY_LOCAL_MACHINEZHKEY_CLASSES_ROOTr-rr rr&rIrMrQrRrZOldMSVCCompilerZdistutils.msvc9compilerrrrrs`       - 9