/opt/alt/python36/lib64/python3.6/distutils/__pycache__
NameSizeModeActions
archive_util.cpython-36.opt-1.pyc65400644editdlrm
archive_util.cpython-36.opt-2.pyc44890644editdlrm
archive_util.cpython-36.pyc65400644editdlrm
bcppcompiler.cpython-36.opt-1.pyc64940644editdlrm
bcppcompiler.cpython-36.opt-2.pyc61960644editdlrm
bcppcompiler.cpython-36.pyc64940644editdlrm
ccompiler.cpython-36.opt-1.pyc332330644editdlrm
ccompiler.cpython-36.opt-2.pyc168730644editdlrm
ccompiler.cpython-36.pyc333600644editdlrm
cmd.cpython-36.opt-1.pyc150010644editdlrm
cmd.cpython-36.opt-2.pyc89940644editdlrm
cmd.cpython-36.pyc150010644editdlrm
config.cpython-36.opt-1.pyc35000644editdlrm
config.cpython-36.opt-2.pyc30980644editdlrm
config.cpython-36.pyc35000644editdlrm
core.cpython-36.opt-1.pyc68160644editdlrm
core.cpython-36.opt-2.pyc34190644editdlrm
core.cpython-36.pyc68160644editdlrm
cygwinccompiler.cpython-36.opt-1.pyc85210644editdlrm
cygwinccompiler.cpython-36.opt-2.pyc68810644editdlrm
cygwinccompiler.cpython-36.pyc85210644editdlrm
debug.cpython-36.opt-1.pyc2010644editdlrm
debug.cpython-36.opt-2.pyc1910644editdlrm
debug.cpython-36.pyc2010644editdlrm
dep_util.cpython-36.opt-1.pyc27170644editdlrm
dep_util.cpython-36.opt-2.pyc12630644editdlrm
dep_util.cpython-36.pyc27170644editdlrm
dir_util.cpython-36.opt-1.pyc58170644editdlrm
dir_util.cpython-36.opt-2.pyc34290644editdlrm
dir_util.cpython-36.pyc58170644editdlrm
dist.cpython-36.opt-1.pyc342260644editdlrm
dist.cpython-36.opt-2.pyc249200644editdlrm
dist.cpython-36.pyc342260644editdlrm
errors.cpython-36.opt-1.pyc54870644editdlrm
errors.cpython-36.opt-2.pyc28390644editdlrm
errors.cpython-36.pyc54870644editdlrm
extension.cpython-36.opt-1.pyc69630644editdlrm
extension.cpython-36.opt-2.pyc34630644editdlrm
extension.cpython-36.pyc69630644editdlrm
fancy_getopt.cpython-36.opt-1.pyc105160644editdlrm
fancy_getopt.cpython-36.opt-2.pyc76950644editdlrm
fancy_getopt.cpython-36.pyc106660644editdlrm
filelist.cpython-36.opt-1.pyc97880644editdlrm
filelist.cpython-36.opt-2.pyc69070644editdlrm
filelist.cpython-36.pyc98780644editdlrm
file_util.cpython-36.opt-1.pyc59100644editdlrm
file_util.cpython-36.opt-2.pyc37630644editdlrm
file_util.cpython-36.pyc59100644editdlrm
log.cpython-36.opt-1.pyc23120644editdlrm
log.cpython-36.opt-2.pyc22410644editdlrm
log.cpython-36.pyc23120644editdlrm
msvc9compiler.cpython-36.opt-1.pyc173940644editdlrm
msvc9compiler.cpython-36.opt-2.pyc157670644editdlrm
msvc9compiler.cpython-36.pyc174570644editdlrm
msvccompiler.cpython-36.opt-1.pyc145810644editdlrm
msvccompiler.cpython-36.opt-2.pyc129900644editdlrm
msvccompiler.cpython-36.pyc145810644editdlrm
spawn.cpython-36.opt-1.pyc50060644editdlrm
spawn.cpython-36.opt-2.pyc36920644editdlrm
spawn.cpython-36.pyc50060644editdlrm
sysconfig.cpython-36.opt-1.pyc119590644editdlrm
sysconfig.cpython-36.opt-2.pyc84610644editdlrm
sysconfig.cpython-36.pyc119590644editdlrm
text_file.cpython-36.opt-1.pyc84710644editdlrm
text_file.cpython-36.opt-2.pyc33590644editdlrm
text_file.cpython-36.pyc84710644editdlrm
unixccompiler.cpython-36.opt-1.pyc68770644editdlrm
unixccompiler.cpython-36.opt-2.pyc62380644editdlrm
unixccompiler.cpython-36.pyc68770644editdlrm
util.cpython-36.opt-1.pyc155360644editdlrm
util.cpython-36.opt-2.pyc94650644editdlrm
util.cpython-36.pyc155360644editdlrm
version.cpython-36.opt-1.pyc73220644editdlrm
version.cpython-36.opt-2.pyc40270644editdlrm
version.cpython-36.pyc73670644editdlrm
versionpredicate.cpython-36.opt-1.pyc50960644editdlrm
versionpredicate.cpython-36.opt-2.pyc26060644editdlrm
versionpredicate.cpython-36.pyc50960644editdlrm
_msvccompiler.cpython-36.opt-1.pyc135140644editdlrm
_msvccompiler.cpython-36.opt-2.pyc126920644editdlrm
_msvccompiler.cpython-36.pyc135750644editdlrm
__init__.cpython-36.opt-1.pyc3910644editdlrm
__init__.cpython-36.opt-2.pyc1990644editdlrm
__init__.cpython-36.pyc3910644editdlrm
Edit: /opt/alt/python36/lib64/python3.6/distutils/__pycache__/cygwinccompiler.cpython-36.pyc (8521B)
3 jf[@@sdZddlZddlZddlZddlmZmZmZddlZddl m Z m Z ddl m Z ddlmZddlmZmZmZmZddlmZdd lmZdd lmZd d ZGd dde ZGdddeZdZdZdZ ddZ!ej"dZ#ddZ$ddZ%ddZ&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)PopenPIPE check_output)gen_preprocess_optionsgen_lib_options) UnixCCompiler) write_file)DistutilsExecErrorCCompilerError CompileErrorUnknownFileError)log) LooseVersion)find_executablecCstjjd}|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)sysversionfind ValueError)Zmsc_posZmsc_verr>/opt/alt/python36/lib64/python3.6/distutils/cygwinccompiler.py get_msvcr?s rc @sReZdZdZdZdZdZdZdZdZ dZ dd d Z d d Z dddZ dddZdS)CygwinCCompilerz? Handles the Cygwin port of the GNU C compiler to Windows. cygwinz.oz.az.dllzlib%s%sz%s%sz.exercCstj||||t\}}|jd||f|tk rB|jd|t\|_|_|_ |j|j d|j|j|j f|jdkrd|_ nd|_ |jdkrd}nd }|j d d d d d|j |fd|jdkrdg|_ |jdnt|_ dS)Nz%Python's GCC status: %s (details: %s)zPython'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.90gccdllwrapz2.13z-sharedz -mdll -staticzgcc -mcygwin -O -Wallzgcc -mcygwin -mdll -O -Wallzg++ -mcygwin -O -Wallz gcc -mcygwinz%s -mcygwin %s)compiler compiler_so compiler_cxx linker_exe linker_soz2.91.57Zmsvcrtz,Consider upgrading to a newer version of gcc)r__init__check_config_hZ debug_print CONFIG_H_OKwarn get_versions gcc_version ld_versionZdllwrap_version compiler_type linker_dllset_executables dll_librariesr)selfverbosedry_runforceZstatusZdetails shared_optionrrrr$ds<      zCygwinCCompiler.__init__cCs|dks|dkrVy|jdd|d|gWqtk rR}zt|WYdd}~XqXnNy"|j|j||d|g|Wn*tk r}zt|WYdd}~XnXdS)z:Compiles the source by spawning GCC and windres if needed.z.rcz.resZwindresz-iz-oN)Zspawnr r r )r/objsrcextZcc_argsextra_postargsZpp_optsmsgrrr_compiles zCygwinCCompiler._compileNcCsRtj| p g} tj|pg}tj|p&g}|j|j|dk oP||jksT|jdkrtjj|d}tjjtjj |\}}tjj ||d}tjj |d|d}dtjj |dg}x|D]}|j |qW|j t ||fd ||jd kr| jd |g| jd |gn |j || s*| j d tj||||||||d| | | | | dS)zLink the objects.Nrrz.deflibz.az LIBRARY %sZEXPORTSz writing %srz --output-libz--defz-s)copyextendr.Z EXECUTABLEr,ospathdirnamesplitextbasenamejoinappendZexecuterrlink)r/Z target_descZobjectsZoutput_filename output_dirZ librariesZ library_dirsZruntime_library_dirsZexport_symbolsdebugZ extra_preargsr7Z build_tempZ target_langZtemp_dirZdll_nameZ dll_extensionZdef_fileZlib_filecontentsZsymrrrrDs:         zCygwinCCompiler.linkcCs|dkr d}g}x|D]}tjjtjj|\}}||jddgkrTtd||f|rdtjj|}|dkr|jtjj||||j q|jtjj|||j qW|S)z#Adds supports for rc and res files.NrH.rc.resz"unknown file type '%s' (from '%s'))rJrI) r=r>r@normcaseZsrc_extensionsr rArCrB obj_extension)r/Zsource_filenamesZ strip_dirrEZ obj_namesZsrc_namebaser6rrrobject_filenamess      z CygwinCCompiler.object_filenames)rrr) NNNNNrNNNN)rrH)__name__ __module__ __qualname____doc__r+rLZstatic_lib_extensionZshared_lib_extensionZstatic_lib_formatZshared_lib_formatZ exe_extensionr$r9rDrNrrrrrYs ; Krc@seZdZdZdZdddZdS)Mingw32CCompilerz@ Handles the Mingw32 port of the GNU C compiler to Windows. Zmingw32rc Csxtj|||||jdkr d}nd}|jdkr4d}nd}trFtd|jdd d d d |j||fd g|_t |_dS)Nz2.13z-sharedz -mdll -staticz2.91.57z--entry _DllMain@12rHz1Cygwin gcc cannot be used with --compiler=mingw32z gcc -O -Wallzgcc -mdll -O -Wallz g++ -O -Wallrz%s %s %s)rr r!r"r#) rr$r*r) is_cygwingccr r-r,r.r)r/r0r1r2r3Z entry_pointrrrr$s&   zMingw32CCompiler.__init__N)rrr)rOrPrQrRr+r$rrrrrSsrSokznot okZ uncertaincCsddlm}dtjkrtdfS|j}y@t|}z(d|jkrJtd|fStd|fSWd|j XWn.t k r}zt d ||j ffSd}~XnXdS) 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__'Nzcouldn't read '%s': %s) distutilsrVrrr&get_config_h_filenameopenreadCONFIG_H_NOTOKcloseOSErrorCONFIG_H_UNCERTAINstrerror)rVfnconfig_hexcrrrr%Hs    r%s(\d+\.\d+(\.\d+)*)c Csl|jd}t|dkrdSt|dtdj}z |j}Wd|jXtj|}|dkrZdSt |j dj S)zFind 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)shellstdoutr) splitrrrrdrZr\ RE_VERSIONsearchrgroupdecode)cmd executableout out_stringresultrrr_find_exe_versionus     rocCsdddg}tdd|DS)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 sz get_versions..)tuple)Zcommandsrrrr(s r(cCstddg}|jjdS)z>Try to determine if the gcc that would be used is from cygwin.rz -dumpmachinescygwin)rstripendswith)rmrrrrTs rT)'rRr=rr; subprocessrrrreZdistutils.ccompilerrrZdistutils.unixccompilerrZdistutils.file_utilrZdistutils.errorsr r r r rWr Zdistutils.versionrZdistutils.spawnrrrrSr&r[r^r%compilerfror(rTrrrrs0)     ;1+