/snap/core18/2999/usr/lib/python3.6/distutils/__pycache__
NameSizeModeActions
archive_util.cpython-36.pyc65250644editdlrm
bcppcompiler.cpython-36.pyc64790644editdlrm
ccompiler.cpython-36.pyc333450644editdlrm
cmd.cpython-36.pyc149860644editdlrm
config.cpython-36.pyc34850644editdlrm
core.cpython-36.pyc68010644editdlrm
cygwinccompiler.cpython-36.pyc85060644editdlrm
debug.cpython-36.pyc1860644editdlrm
dep_util.cpython-36.pyc27020644editdlrm
dir_util.cpython-36.pyc61770644editdlrm
dist.cpython-36.pyc342110644editdlrm
errors.cpython-36.pyc54720644editdlrm
extension.cpython-36.pyc69480644editdlrm
fancy_getopt.cpython-36.pyc106510644editdlrm
filelist.cpython-36.pyc98630644editdlrm
file_util.cpython-36.pyc58950644editdlrm
log.cpython-36.pyc22970644editdlrm
msvc9compiler.cpython-36.pyc174420644editdlrm
msvccompiler.cpython-36.pyc145660644editdlrm
spawn.cpython-36.pyc49910644editdlrm
sysconfig.cpython-36.pyc126100644editdlrm
text_file.cpython-36.pyc84560644editdlrm
unixccompiler.cpython-36.pyc69930644editdlrm
util.cpython-36.pyc155210644editdlrm
version.cpython-36.pyc73520644editdlrm
versionpredicate.cpython-36.pyc50810644editdlrm
_msvccompiler.cpython-36.pyc135600644editdlrm
__init__.cpython-36.pyc3760644editdlrm
Edit: /snap/core18/2999/usr/lib/python3.6/distutils/__pycache__/unixccompiler.cpython-36.pyc (6993B)
3 ª·]Ñ:ã@s’dZddlZddlZddlZddlmZddlmZddlm Z m Z m Z ddl m Z mZmZmZddlmZejdkr~ddlZGd d „d e ƒZdS) a9distutils.unixccompiler Contains the UnixCCompiler class, a subclass of CCompiler that handles the "typical" Unix-style command-line C compiler: * macros defined with -Dname[=value] * macros undefined with -Uname * include search directories specified with -Idir * libraries specified with -lllib * library search directories specified with -Ldir * compile handled by 'cc' (or similar) executable with -c option: compiles .c to .o * link static library handled by 'ar' command (possibly with 'ranlib') * link shared library handled by 'cc -shared' éN)Ú sysconfig)Únewer)Ú CCompilerÚgen_preprocess_optionsÚgen_lib_options)ÚDistutilsExecErrorÚ CompileErrorÚLibErrorÚ LinkError)ÚlogÚdarwinc @säeZdZdZddgdgdgddgdgddgddœZejdd…d krNd ged <d d d dddgZdZdZ dZ dZ dZ dZ ZZeZejdkrdZd,dd„Zdd„Zd-dd„Zd.d d!„Zd"d#„Zd$d%„Zd&d'„Zd(d)„Zd/d*d+„ZdS)0Ú UnixCCompilerZunixNZccz-sharedZarz-cr)Ú preprocessorÚcompilerÚ compiler_soÚ compiler_cxxÚ linker_soÚ linker_exeÚarchiverÚranlibér rz.cz.Cz.ccz.cxxz.cppz.mz.oz.az.soz.dylibz.tbdzlib%s%sÚcygwinz.exec CsÒ|jd||ƒ}|\}}}t||ƒ} |j| } |r>| jd|gƒ|rN|| dd…<|r\| j|ƒ| j|ƒ|js~|dks~t||ƒrÎ|r”|jtj j |ƒƒy|j | ƒWn*t k rÌ} zt | ƒ‚WYdd} ~ XnXdS)Nz-or)Z_fix_compile_argsrrÚextendÚappendZforcerÚmkpathÚosÚpathÚdirnameÚspawnrr) ÚselfÚsourceZ output_fileZmacrosZ include_dirsÚ extra_preargsÚextra_postargsÚ fixed_argsÚignoreÚpp_optsZpp_argsÚmsg©r'ú-/usr/lib/python3.6/distutils/unixccompiler.pyÚ preprocessUs$      zUnixCCompiler.preprocessc Csp|j}tjdkr tj|||ƒ}y |j|||d|g|ƒWn*tk rj}zt|ƒ‚WYdd}~XnXdS)Nr z-o)rÚsysÚplatformÚ _osx_supportÚcompiler_fixuprrr) rÚobjÚsrcZextZcc_argsr"r%rr&r'r'r(Ú_compileos   zUnixCCompiler._compilercCs²|j||ƒ\}}|j||d}|j||ƒr¢|jtjj|ƒƒ|j|j|g||j ƒ|j r®y|j|j |gƒWq®t k rž}zt |ƒ‚WYdd}~Xq®Xn t jd|ƒdS)N)Ú output_dirzskipping %s (up-to-date))Ú_fix_object_argsÚlibrary_filenameÚ _need_linkrrrrrrÚobjectsrrr r Údebug)rr5Zoutput_libnamer1r6Ú target_langÚoutput_filenamer&r'r'r(Úcreate_static_libzs zUnixCCompiler.create_static_libcs|j||ƒ\}}|j|||ƒ}|\}}}ddddg‰tjdƒ}|rXˆjd|d|gƒ‡fdd „|Dƒ}‡fd d „|Dƒ}t||||ƒ}t|ttdƒfƒs¤t d ƒ‚|dk rºt j j ||ƒ}|j ||ƒr||j|d |g}| rðd g|dd…<| r| |dd…<| r|j| ƒ|jt j j|ƒƒy°|tjkrB|jdd…}n|jdd…}| dkr¬|jr¬d}t j j|dƒdkržd}xd||krœ|d7}q‚W|j|||<tjdkrÄtj||ƒ}|j||ƒWn,tk r}zt|ƒ‚WYdd}~XnXn tjd|ƒdS)Nz/libz/lib64z/usr/libz /usr/lib64Z MULTIARCHz/lib/%sz /usr/lib/%scsg|]}|ˆkr|‘qSr'r')Ú.0Údir)Úsystem_libdirsr'r(ú ¤sz&UnixCCompiler.link..csg|]}|ˆkr|‘qSr'r')r:r;)r<r'r(r=¦sz%'output_dir' must be a string or Nonez-oz-grzc++Úenvéú=r zskipping %s (up-to-date)) r2Z _fix_lib_argsrÚget_config_varrrÚ isinstanceÚstrÚtypeÚ TypeErrorrrÚjoinr4r5rrrZ EXECUTABLErrrÚbasenamer*r+r,r-rrr r r6)rZ target_descr5r8r1Z librariesZ library_dirsZruntime_library_dirsZexport_symbolsr6r!r"Z build_tempr7r#Z multiarchZlib_optsZld_argsZlinkerÚir&r')r<r(Úlink”sT        zUnixCCompiler.linkcCsd|S)Nz-Lr')rr;r'r'r(Úlibrary_dir_optionÙsz UnixCCompiler.library_dir_optioncCsd|kpd|kS)NZgcczg++r')rZ compiler_namer'r'r(Ú_is_gccÜszUnixCCompiler._is_gcccCsÜtjjtjdƒƒ}tjdd…dkr,d|Stjdd…dkrFd|Stjdd…d krz|j|ƒrnd d|gSd d|gStjdd…d ksžtjdd…d kr¦d|gS|j|ƒrÐtjdƒdkrÆd|Sd|Snd|SdS)NZCCrr z-LéZfreebsdz -Wl,-rpath=ézhp-uxz-Wl,+sz+sZirix646Zosf1V5z-rpathZGNULDZyesz-Wl,--enable-new-dtags,-Rz-Wl,-Rz-R)rrrGrrAr*r+rK)rr;rr'r'r(Úruntime_library_dir_optionßs    $  z(UnixCCompiler.runtime_library_dir_optioncCsd|S)Nz-lr')rÚlibr'r'r(Úlibrary_option szUnixCCompiler.library_optioncCs|j|dd}|j|dd}|j|dd}|j|dd}tjdkrptjdƒ}tjd|ƒ} | dkrfd } n | jd ƒ} x|D]} tj j | |ƒ} tj j | |ƒ} tj j | |ƒ}tj j | |ƒ}tjdkoÞ| j d ƒsâ| j d ƒoÞ| j d ƒ rBtj j | | d d…|ƒ} tj j | | d d…|ƒ} tj j | | d d…|ƒ}tj j | | d d…|ƒ}tj j | ƒrT| Stj j |ƒrf|Stj j | ƒrx| Stj j |ƒrx|SqxWdS)NÚshared)Zlib_typeÚdylibÚ xcode_stubÚstaticr ZCFLAGSz-isysroot\s+(\S+)ú/r?z/System/z/usr/z /usr/local/) r3r*r+rrAÚreÚsearchÚgrouprrrFÚ startswithÚexists)rÚdirsrOr6Zshared_fZdylib_fZ xcode_stub_fZstatic_fZcflagsÚmZsysrootr;rQrRrTrSr'r'r(Úfind_library_files>       zUnixCCompiler.find_library_file)NNNNN)NrN) NNNNNrNNNN)r)Ú__name__Ú __module__Ú __qualname__Z compiler_typeZ executablesr*r+Zsrc_extensionsZ obj_extensionZstatic_lib_extensionZshared_lib_extensionZdylib_lib_extensionZxcode_stub_lib_extensionZstatic_lib_formatZshared_lib_formatZdylib_lib_formatZxcode_stub_lib_formatZ exe_extensionr)r0r9rIrJrKrNrPr]r'r'r'r(r -sD      A,r )Ú__doc__rr*rVZ distutilsrZdistutils.dep_utilrZdistutils.ccompilerrrrZdistutils.errorsrrr r r r+r,r r'r'r'r(Ús