/usr/lib64/python3.9/distutils/__pycache__
NameSizeModeActions
archive_util.cpython-39.opt-1.pyc65870644editdlrm
archive_util.cpython-39.opt-2.pyc45450644editdlrm
archive_util.cpython-39.pyc65870644editdlrm
bcppcompiler.cpython-39.opt-1.pyc64980644editdlrm
bcppcompiler.cpython-39.opt-2.pyc62100644editdlrm
bcppcompiler.cpython-39.pyc64980644editdlrm
ccompiler.cpython-39.opt-1.pyc330970644editdlrm
ccompiler.cpython-39.opt-2.pyc167900644editdlrm
ccompiler.cpython-39.pyc331880644editdlrm
cmd.cpython-39.opt-1.pyc139260644editdlrm
cmd.cpython-39.opt-2.pyc80600644editdlrm
cmd.cpython-39.pyc139260644editdlrm
config.cpython-39.opt-1.pyc35290644editdlrm
config.cpython-39.opt-2.pyc31380644editdlrm
config.cpython-39.pyc35290644editdlrm
core.cpython-39.opt-1.pyc66540644editdlrm
core.cpython-39.opt-2.pyc32670644editdlrm
core.cpython-39.pyc66540644editdlrm
cygwinccompiler.cpython-39.opt-1.pyc85030644editdlrm
cygwinccompiler.cpython-39.opt-2.pyc68730644editdlrm
cygwinccompiler.cpython-39.pyc85030644editdlrm
debug.cpython-39.opt-1.pyc1960644editdlrm
debug.cpython-39.opt-2.pyc1960644editdlrm
debug.cpython-39.pyc1960644editdlrm
dep_util.cpython-39.opt-1.pyc27160644editdlrm
dep_util.cpython-39.opt-2.pyc12720644editdlrm
dep_util.cpython-39.pyc27160644editdlrm
dir_util.cpython-39.opt-1.pyc58170644editdlrm
dir_util.cpython-39.opt-2.pyc34390644editdlrm
dir_util.cpython-39.pyc58170644editdlrm
dist.cpython-39.opt-1.pyc343480644editdlrm
dist.cpython-39.opt-2.pyc250570644editdlrm
dist.cpython-39.pyc343480644editdlrm
errors.cpython-39.opt-1.pyc52520644editdlrm
errors.cpython-39.opt-2.pyc27040644editdlrm
errors.cpython-39.pyc52520644editdlrm
extension.cpython-39.opt-1.pyc69170644editdlrm
extension.cpython-39.opt-2.pyc34270644editdlrm
extension.cpython-39.pyc69170644editdlrm
fancy_getopt.cpython-39.opt-1.pyc105020644editdlrm
fancy_getopt.cpython-39.opt-2.pyc76990644editdlrm
fancy_getopt.cpython-39.pyc106250644editdlrm
filelist.cpython-39.opt-1.pyc97610644editdlrm
filelist.cpython-39.opt-2.pyc68900644editdlrm
filelist.cpython-39.pyc98350644editdlrm
file_util.cpython-39.opt-1.pyc59830644editdlrm
file_util.cpython-39.opt-2.pyc38460644editdlrm
file_util.cpython-39.pyc59830644editdlrm
log.cpython-39.opt-1.pyc23150644editdlrm
log.cpython-39.opt-2.pyc22540644editdlrm
log.cpython-39.pyc23150644editdlrm
msvc9compiler.cpython-39.opt-1.pyc174690644editdlrm
msvc9compiler.cpython-39.opt-2.pyc158480644editdlrm
msvc9compiler.cpython-39.pyc175120644editdlrm
msvccompiler.cpython-39.opt-1.pyc147070644editdlrm
msvccompiler.cpython-39.opt-2.pyc131340644editdlrm
msvccompiler.cpython-39.pyc147070644editdlrm
spawn.cpython-39.opt-1.pyc34410644editdlrm
spawn.cpython-39.opt-2.pyc23080644editdlrm
spawn.cpython-39.pyc34410644editdlrm
sysconfig.cpython-39.opt-1.pyc120640644editdlrm
sysconfig.cpython-39.opt-2.pyc85770644editdlrm
sysconfig.cpython-39.pyc120640644editdlrm
text_file.cpython-39.opt-1.pyc84410644editdlrm
text_file.cpython-39.opt-2.pyc33430644editdlrm
text_file.cpython-39.pyc84410644editdlrm
unixccompiler.cpython-39.opt-1.pyc71320644editdlrm
unixccompiler.cpython-39.opt-2.pyc65030644editdlrm
unixccompiler.cpython-39.pyc71320644editdlrm
util.cpython-39.opt-1.pyc155900644editdlrm
util.cpython-39.opt-2.pyc97060644editdlrm
util.cpython-39.pyc155900644editdlrm
version.cpython-39.opt-1.pyc73120644editdlrm
version.cpython-39.opt-2.pyc40270644editdlrm
version.cpython-39.pyc73410644editdlrm
versionpredicate.cpython-39.opt-1.pyc51250644editdlrm
versionpredicate.cpython-39.opt-2.pyc26450644editdlrm
versionpredicate.cpython-39.pyc51250644editdlrm
_msvccompiler.cpython-39.opt-1.pyc127840644editdlrm
_msvccompiler.cpython-39.opt-2.pyc116350644editdlrm
_msvccompiler.cpython-39.pyc128270644editdlrm
__init__.cpython-39.opt-1.pyc3860644editdlrm
__init__.cpython-39.opt-2.pyc2040644editdlrm
__init__.cpython-39.pyc3860644editdlrm
Edit: /usr/lib64/python3.9/distutils/__pycache__/cygwinccompiler.cpython-39.opt-1.pyc (8503B)
a ´iü?ã@sâdZddlZddlZddlZddlmZmZmZddlZddl m Z ddl m Z ddl mZmZmZmZddlmZddlmZd d „ZGd d „d e ƒZGd d„deƒZdZdZdZdd„Ze d¡Zdd„Zdd„Z dd„Z!dS)adistutils.cygwinccompiler Provides the CygwinCCompiler class, a subclass of UnixCCompiler that handles the Cygwin port of the GNU C compiler to Windows. It also contains the Mingw32CCompiler class which handles the mingw32 port of GCC (same as cygwin in no-cygwin mode). éN)ÚPopenÚPIPEÚ check_output)Ú UnixCCompiler)Ú write_file)ÚDistutilsExecErrorÚCCompilerErrorÚ CompileErrorÚUnknownFileError)Ú LooseVersion)Úfind_executablecCs€tj d¡}|dkr|tj|d|d…}|dkr8dgS|dkrFdgS|d krTd gS|d krbd gS|d krpdgStd|ƒ‚dS)zaInclude the appropriate MSVC runtime library if Python was built with MSVC 7.0 or later. zMSC v.éÿÿÿÿéé Z1300Zmsvcr70Z1310Zmsvcr71Z1400Zmsvcr80Z1500Zmsvcr90Z1600Zmsvcr100zUnknown MS Compiler version %s N)ÚsysÚversionÚfindÚ ValueError)Zmsc_posZmsc_ver©rú1/usr/lib64/python3.9/distutils/cygwinccompiler.pyÚ get_msvcr=s rc @sReZdZdZdZdZdZdZdZdZ dZ dd d „Z d d „Z ddd„Z ddd„ZdS)ÚCygwinCCompilerz? Handles the Cygwin port of the GNU C compiler to Windows. Úcygwinz.oú.az.dllzlib%s%sz%s%sz.exercCsèt ||||¡tƒ\}}| d||f¡|turB| d|¡tƒ\|_|_|_ | |j d|j|j|j f¡|jdkr†d|_ nd|_ |jdkrœd}nd }|j d d d d d|j |fd�|jdkrÜdg|_ | d¡ntƒ|_ dS)Nz%Python's GCC status: %s (details: %s)zƒPython's pyconfig.h doesn't seem to support your compiler. Reason: %s. Compiling may fail because of undefined preprocessor macros.z: gcc %s, ld %s, dllwrap %s z2.10.90ÚgccÚdllwrapú2.13ú-sharedú -mdll -staticzgcc -mcygwin -O -Wallzgcc -mcygwin -mdll -O -Wallzg++ -mcygwin -O -Wallz gcc -mcygwinz%s -mcygwin %s©ZcompilerÚ compiler_soZ compiler_cxxZ linker_exeZ linker_soú2.91.57Úmsvcrtz,Consider upgrading to a newer version of gcc)rÚ__init__Úcheck_config_hZ debug_printÚ CONFIG_H_OKÚwarnÚ get_versionsÚ gcc_versionÚ ld_versionZdllwrap_versionÚ compiler_typeÚ linker_dllÚset_executablesÚ dll_librariesr)ÚselfÚverboseÚdry_runÚforceÚstatusÚdetailsÚ shared_optionrrrr#bsN ÿýÿÿ þÿ  ÿü ÿzCygwinCCompiler.__init__c Cs¬|dks|dkrXz| dd|d|g¡Wq¨tyT}zt|ƒ‚WYd}~q¨d}~00nPz"| |j||d|g|¡Wn,ty¦}zt|ƒ‚WYd}~n d}~00dS)z:Compiles the source by spawning GCC and windres if needed.ú.rcú.resZwindresz-iz-oN)Úspawnrr r )r.ÚobjÚsrcÚextZcc_argsÚextra_postargsZpp_optsÚmsgrrrÚ_compile�s ÿ zCygwinCCompiler._compileNcCsPt | p g¡} t |pg¡}t |p&g¡}| |j¡|du�r||jksV|jdk�rtj |d¡}tj tj  |¡¡\}}tj  ||d¡}tj  |d|d¡}dtj  |¡dg}|D]}|  |¡q¾|  t ||fd |¡|jd k�r|  d |g¡|  d |g¡n |  |¡| �s(|   d ¡t ||||||||d| | | | | ¡dS)zLink the objects.Nrrz.defÚlibrz LIBRARY %sZEXPORTSz writing %srz --output-libz--defz-s)ÚcopyÚextendr-Z EXECUTABLEr+ÚosÚpathÚdirnameÚsplitextÚbasenameÚjoinÚappendZexecuterrÚlink)r.Z target_descZobjectsZoutput_filenameÚ output_dirZ librariesZ library_dirsZruntime_library_dirsZexport_symbolsÚdebugZ extra_preargsr;Z build_tempZ target_langZtemp_dirZdll_nameZ dll_extensionZdef_fileZlib_fileÚcontentsZsymrrrrH¬sH  ÿÿ  ÿþ  ÿ    ûzCygwinCCompiler.linkÚcCsª|dur d}g}|D]�}tj tj |¡¡\}}||jddgvrRtd||fƒ‚|rbtj |¡}|dvrŠ| tj ||||j ¡¡q| tj |||j ¡¡q|S)z#Adds supports for rc and res files.NrLr5r6z"unknown file type '%s' (from '%s'))r6r5) rArBrDÚnormcaseZsrc_extensionsr rErGrFÚ obj_extension)r.Zsource_filenamesZ strip_dirrIZ obj_namesZsrc_nameÚbaser:rrrÚobject_filenamesús&ÿ   ÿ ÿz CygwinCCompiler.object_filenames)rrr) NNNNNrNNNN)rrL)Ú__name__Ú __module__Ú __qualname__Ú__doc__r*rNZstatic_lib_extensionZshared_lib_extensionZstatic_lib_formatZshared_lib_formatZ exe_extensionr#r=rHrPrrrrrWs  ;ý Nrc@seZdZdZdZddd„ZdS)ÚMingw32CCompilerz@ Handles the Mingw32 port of the GNU C compiler to Windows. Zmingw32rc Csxt ||||¡|jdkr d}nd}|jdkr4d}nd}tƒrFtdƒ‚|jdd d d d |j||fd �g|_t ƒ|_dS)Nrrrr!z--entry _DllMain@12rLz1Cygwin gcc cannot be used with --compiler=mingw32z gcc -O -Wallzgcc -mdll -O -Wallz g++ -O -Wallrz%s %s %sr) rr#r)r(Ú is_cygwingccrr,r+r-r)r.r/r0r1r4Z entry_pointrrrr#s.  ÿÿÿü zMingw32CCompiler.__init__N)rrr)rQrRrSrTr*r#rrrrrUsrUÚokznot okZ uncertainc CsÂddlm}dtjvrtdfS| ¡}z`t|ƒ}zHd| ¡vrVtd|fW| ¡WSt d|fW| ¡WSW| ¡n | ¡0Wn6t y¼}zt d||j ffWYd }~Sd }~00d S) awCheck if the current Python installation appears amenable to building extensions with GCC. Returns a tuple (status, details), where 'status' is one of the following constants: - CONFIG_H_OK: all is well, go ahead and compile - CONFIG_H_NOTOK: doesn't look good - CONFIG_H_UNCERTAIN: not sure -- unable to read pyconfig.h 'details' is a human-readable string explaining the situation. Note there are two ways to conclude "OK": either 'sys.version' contains the string "GCC" (implying that this Python was built with GCC), or the installed "pyconfig.h" contains the string "__GNUC__". r)Ú sysconfigZGCCzsys.version mentions 'GCC'Z__GNUC__z'%s' mentions '__GNUC__'z '%s' does not mention '__GNUC__'zcouldn't read '%s': %sN) Z distutilsrXrrr%Zget_config_h_filenameÚopenÚreadÚcloseÚCONFIG_H_NOTOKÚOSErrorÚCONFIG_H_UNCERTAINÚstrerror)rXÚfnZconfig_hÚexcrrrr$Fs&    ü þ ÿr$s(\d+\.\d+(\.\d+)*)cCst| ¡d}t|ƒdurdSt|dtd�j}z| ¡}W| ¡n | ¡0t |¡}|durbdSt |  d¡  ¡ƒS)z¤Find the version of an executable by running `cmd` in the shell. If the command is not found, or the output does not match `RE_VERSION`, returns None. rNT)ÚshellÚstdouté) Úsplitr rrrcrZr[Ú RE_VERSIONÚsearchr ÚgroupÚdecode)ÚcmdÚ executableÚoutÚ out_stringÚresultrrrÚ_find_exe_versionss    rocCsgd¢}tdd„|DƒƒS)zg Try to find out the versions of gcc, ld and dllwrap. If not possible it returns None for it. )zgcc -dumpversionzld -vzdllwrap --versioncSsg|] }t|ƒ‘qSr)ro)Ú.0rjrrrÚ Žóz get_versions..)Útuple)Úcommandsrrrr'ˆsr'cCstddgƒ}| ¡ d¡S)z>Try to determine if the gcc that would be used is from cygwin.rz -dumpmachinescygwin)rÚstripÚendswith)rmrrrrV�s rV)"rTrArr?Ú subprocessrrrÚreZdistutils.unixccompilerrZdistutils.file_utilrZdistutils.errorsrrr r Zdistutils.versionr Zdistutils.spawnr rrrUr%r\r^r$Úcompilerfror'rVrrrrÚs,/    ;1+