ó /ÓşEc@sŒddlZddlmZmZmZddlmZddlm Z ddl Z ddl Z d„Z dej jjfd„ƒYZdS(i˙˙˙˙N(tCompilationOptionstdefault_optionstcompile(t PyrexError(tnewercCstjj|ƒd|S(Ni(tostpathtsplitext(Rt new_suffix((s@/usr/lib/python2.7/site-packages/Pyrex/DistutilsOld/build_ext.pytreplace_suffixst build_extcBs,eZdZd„Zdd„Zd„ZRS(sTcompile Pyrex scripts, then build C/C++ extensions (compile/link to build directory)cCstjjjj|ƒdS(N(t distutilstcommandR tfinalize_options(tself((s@/usr/lib/python2.7/site-packages/Pyrex/DistutilsOld/build_ext.pyR sc Csđ|js dSg}g|D]}|jdƒr|^q}g|D]}|jdƒsB|^qB}d}x`|D]X}tjj|ƒrp|}t||ƒ}t||ƒsľ|jrČ|j|ƒqČqpqpWg|D]} t| |ƒ^qÓ|S(Ns.pyxs.c( t extensionstendswithRRtexistsR Rtforcet pyrex_compile( Rtsourcest extensiont pyx_sourcestsourcet other_sourcestsuffixtpyxttargettsrc((s@/usr/lib/python2.7/site-packages/Pyrex/DistutilsOld/build_ext.pyt swig_sources$s (( cCsGttd|jƒ}t||ƒ}|jdkrCtjdƒndS(Nt include_pathii(RRt include_dirsRt num_errorstsystexit(RRtoptionstresult((s@/usr/lib/python2.7/site-packages/Pyrex/DistutilsOld/build_ext.pyR9s   N(t__name__t __module__t descriptionR tNoneRR(((s@/usr/lib/python2.7/site-packages/Pyrex/DistutilsOld/build_ext.pyR s (tdistutils.command.build_extR tPyrex.Compiler.MainRRRtPyrex.Compiler.ErrorsRtdistutils.dep_utilRRR!R R R (((s@/usr/lib/python2.7/site-packages/Pyrex/DistutilsOld/build_ext.pyt s