ó b-äQc@sıddlZddlZddlZddlmZeejjƒZd„Z defd„ƒYZdefd„ƒYZ eej_eej _dej krµeej d_ndS( i˙˙˙˙N(t_get_unpatchedcCsMd}x@|D]8}yt|ddgƒjtSWq tk rDq Xq WtS(s9 Return True if Cython or Pyrex can be imported. sCython.Distutils.build_extsPyrex.Distutils.build_exttfromlistt build_ext(sCython.Distutils.build_extsPyrex.Distutils.build_ext(t __import__RtTruet ExceptiontFalse(t pyrex_implst pyrex_impl((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyt have_pyrex s  t ExtensioncBs eZdZd„Zd„ZRS(s7Extension that uses '.c' files in place of '.pyx' filescOs-tj|||Žtƒs)|jƒndS(N(t _Extensiont__init__R t_convert_pyx_sources_to_c(tselftargstkw((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyR s cCs(d„}tt||jƒƒ|_dS(sconvert .pyx extensions to .ccSs$|jdƒr |d d}n|S(Ns.pyxiü˙˙˙s.c(tendswith(tsource((s8/usr/lib/python2.7/site-packages/setuptools/extension.pytpyx_to_c"sN(tlisttmaptsources(RR((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyR s (t__name__t __module__t__doc__R R (((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyR s tLibrarycBseZdZRS(s=Just like a regular Extension, but built as a library instead(RRR(((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyR(ssdistutils.command.build_ext( tsystdistutils.coret distutilstdistutils.extensiontsetuptools.distRtcoreR R R Rt extensiontmodules(((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyts