/opt/alt/python27/lib64/python2.7/distutils
NameSizeModeActions
command/-0755rm
archive_util.py82190644editdlrm
archive_util.pyc77050644editdlrm
archive_util.pyo77050644editdlrm
bcppcompiler.py149410644editdlrm
bcppcompiler.pyc79990644editdlrm
bcppcompiler.pyo79990644editdlrm
ccompiler.py467260644editdlrm
ccompiler.pyc375970644editdlrm
ccompiler.pyo374560644editdlrm
cmd.py192700644editdlrm
cmd.pyc172850644editdlrm
cmd.pyo172850644editdlrm
config.py41340644editdlrm
config.pyc36560644editdlrm
config.pyo36560644editdlrm
core.py90190644editdlrm
core.pyc75880644editdlrm
core.pyo75880644editdlrm
cygwinccompiler.py177350644editdlrm
cygwinccompiler.pyc99810644editdlrm
cygwinccompiler.pyo99810644editdlrm
debug.py1620644editdlrm
debug.pyc2670644editdlrm
debug.pyo2670644editdlrm
dep_util.py35090644editdlrm
dep_util.pyc32320644editdlrm
dep_util.pyo32320644editdlrm
dir_util.py78680644editdlrm
dir_util.pyc68770644editdlrm
dir_util.pyo68770644editdlrm
dist.py500490644editdlrm
dist.pyc400470644editdlrm
dist.pyo400470644editdlrm
emxccompiler.py119310644editdlrm
emxccompiler.pyc75840644editdlrm
emxccompiler.pyo75840644editdlrm
errors.py34940644editdlrm
errors.pyc65450644editdlrm
errors.pyo65450644editdlrm
extension.py109040644editdlrm
extension.pyc74640644editdlrm
extension.pyo72380644editdlrm
fancy_getopt.py179480644editdlrm
fancy_getopt.pyc122310644editdlrm
fancy_getopt.pyo120540644editdlrm
filelist.py126890644editdlrm
filelist.pyc109770644editdlrm
filelist.pyo109770644editdlrm
file_util.py81310644editdlrm
file_util.pyc68150644editdlrm
file_util.pyo68150644editdlrm
log.py16860644editdlrm
log.pyc29420644editdlrm
log.pyo29420644editdlrm
msvc9compiler.py310040644editdlrm
msvc9compiler.pyc219000644editdlrm
msvc9compiler.pyo218270644editdlrm
msvccompiler.py236370644editdlrm
msvccompiler.pyc178630644editdlrm
msvccompiler.pyo178630644editdlrm
README2950644editdlrm
spawn.py86480644editdlrm
spawn.pyc65180644editdlrm
spawn.pyo65180644editdlrm
sysconfig.py177070644editdlrm
sysconfig.py.debug-build176220644editdlrm
sysconfig.pyc136090644editdlrm
sysconfig.pyo136090644editdlrm
text_file.py124280644editdlrm
text_file.pyc94020644editdlrm
text_file.pyo94020644editdlrm
unixccompiler.py142220644editdlrm
unixccompiler.py.distutils-rpath136770644editdlrm
unixccompiler.pyc83850644editdlrm
unixccompiler.pyo83850644editdlrm
util.py182360644editdlrm
util.pyc145680644editdlrm
util.pyo145680644editdlrm
version.py114330644editdlrm
version.pyc74030644editdlrm
version.pyo74030644editdlrm
versionpredicate.py50950644editdlrm
versionpredicate.pyc56330644editdlrm
versionpredicate.pyo56330644editdlrm
__init__.py2360644editdlrm
__init__.pyc4280644editdlrm
__init__.pyo4280644editdlrm
Edit: /opt/alt/python27/lib64/python2.7/distutils/emxccompiler.pyo (7584B)
ó Ž[ bc@sŠdZdZddlZddlZddlZddlmZmZddlm Z ddl m Z ddl m Z mZmZddlmZd e fd „ƒYZd Zd Zd Zd„Zd„ZdS(sŽdistutils.emxccompiler Provides the EMXCCompiler class, a subclass of UnixCCompiler that handles the EMX port of the GNU C compiler to OS/2. s$Id$i’’’’N(tgen_preprocess_optionstgen_lib_options(t UnixCCompiler(t write_file(tDistutilsExecErrort CompileErrortUnknownFileError(tlogt EMXCCompilerc Bs•eZdZdZdZdZdZdZdZdZ dddd„Z d „Z ddddddddddd „ Z dd d „Zdd „ZRS(temxs.objs.libs.dlls%s%ss.ress.exeic CsĻtj||||ƒtƒ\}}|jd||fƒ|tk rd|jdd|dƒntƒ\|_|_|j|j d|j|jfƒ|j ddddd d d d ƒd g|_ dS(Ns%Python's GCC status: %s (details: %s)s<Python's pyconfig.h doesn't seem to support your compiler. s Reason: %s.s<Compiling may fail because of undefined preprocessor macros.s: gcc %s, ld %s tcompilers5gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wallt compiler_sot linker_exesgcc -Zomf -Zmt -Zcrtdllt linker_sosgcc -Zomf -Zmt -Zcrtdll -Zdlltgcc( Rt__init__tcheck_config_ht debug_printt CONFIG_H_OKtwarnt get_versionst gcc_versiont ld_versiont compiler_typetset_executablest dll_libraries(tselftverbosetdry_runtforcetstatustdetails((s;/opt/alt/python27/lib64/python2.7/distutils/emxccompiler.pyR*s"    cCs”|dkrHy|jdd|gƒWqtk rD}t|‚qXnHy)|j|j||d|g|ƒWntk r}t|‚nXdS(Ns.rctrcs-rs-o(tspawnRRR (Rtobjtsrctexttcc_argstextra_postargstpp_optstmsg((s;/opt/alt/python27/lib64/python2.7/distutils/emxccompiler.pyt_compileMs  cCs‰tj| pgƒ} tj|p$gƒ}tj|p9gƒ}|j|jƒ|dk r;||jkr;tjj|dƒ}tjjtjj |ƒƒ\}}tjj ||dƒ}dtjjtjj |ƒƒdddg}x|D]}|j d|ƒqóW|j t ||fd|ƒ|j |ƒn| sQ| j dƒntj||||||||d| | | | | ƒdS( Nis.defs$LIBRARY %s INITINSTANCE TERMINSTANCEsDATA MULTIPLE NONSHAREDtEXPORTSs "%s"s writing %ss-s(tcopytextendRtNonet EXECUTABLEtostpathtdirnametsplitexttbasenametjointappendtexecuteRRtlink(Rt target_desctobjectstoutput_filenamet output_dirt librariest library_dirstruntime_library_dirstexport_symbolstdebugt extra_preargsR&t build_tempt target_langttemp_dirtdll_namet dll_extensiontdef_filetcontentstsym((s;/opt/alt/python27/lib64/python2.7/distutils/emxccompiler.pyR7[sF         tcCsš|dkrd}ng}xĪ|D]Ę}tjjtjj|ƒƒ\}}||jdgkrxtd||f‚n|r“tjj|ƒ}n|dkrÅ|jtjj |||j ƒƒq"|jtjj |||j ƒƒq"W|S(NRJs.rcs"unknown file type '%s' (from '%s')( R-R/R0R2tnormcasetsrc_extensionsRR3R5R4t res_extensiont obj_extension(Rtsource_filenamest strip_dirR;t obj_namestsrc_nametbaseR$((s;/opt/alt/python27/lib64/python2.7/distutils/emxccompiler.pytobject_filenames¶s"  $ c Cs·d|}d|}ytjdjdƒ}Wntk rGg}nXxh||D]\}tjj||ƒ}tjj||ƒ} tjj|ƒr™|Stjj| ƒrS| SqSWdS(Ns%s.libs lib%s.libt LIBRARY_PATHt;(R/tenvirontsplittKeyErrorR0R4texistsR-( RtdirstlibR@tshortlibtlonglibtemx_dirstdirt shortlibptlonglibp((s;/opt/alt/python27/lib64/python2.7/distutils/emxccompiler.pytfind_library_fileŅs    N(t__name__t __module__RRNtstatic_lib_extensiontshared_lib_extensiontstatic_lib_formattshared_lib_formatRMt exe_extensionRR)R-R7RTRc(((s;/opt/alt/python27/lib64/python2.7/distutils/emxccompiler.pyRs2  P toksnot okt uncertaincCsŻddlm}ddl}|jtjdƒdkrAtdfS|jƒ}y.t|ƒ}z|j ƒ}Wd|j ƒXWn't k r¤}t d||j ffSX|j|dƒdkrĖtd |fStd |fSdS( s”Check if the current Python installation (specifically, pyconfig.h) 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__". i’’’’(t sysconfigNtGCCissys.version mentions 'GCC'scouldn't read '%s': %st__GNUC__s'%s' mentions '__GNUC__'s '%s' does not mention '__GNUC__'(t distutilsRmtstringtfindtsystversionRtget_config_h_filenametopentreadtclosetIOErrortCONFIG_H_UNCERTAINtstrerrortCONFIG_H_NOTOK(RmRqtfntftstexc((s;/opt/alt/python27/lib64/python2.7/distutils/emxccompiler.pyRņs     c CsĮddlm}ddlm}ddl}|dƒ}|r«tj|ddƒ}z|jƒ}Wd|jƒX|j d|ƒ}|r¢||j d ƒƒ}q±d}nd}d}||fS( sa Try to find out the versions of gcc and ld. If not possible it returns None for it. i’’’’(t StrictVersion(tfind_executableNRs -dumpversiontrs(\d+\.\d+\.\d+)i( tdistutils.versionRtdistutils.spawnR‚treR/tpopenRwRxtsearchtgroupR-( RR‚R†tgcc_exetoutt out_stringtresultRR((s;/opt/alt/python27/lib64/python2.7/distutils/emxccompiler.pyR&s     (t__doc__t __revision__R/RsR+tdistutils.ccompilerRRtdistutils.unixccompilerRtdistutils.file_utilRtdistutils.errorsRRRRpRRRR|RzRR(((s;/opt/alt/python27/lib64/python2.7/distutils/emxccompiler.pyts$Ļ 4