ok

Mini Shell

Direktori : /proc/thread-self/root/proc/thread-self/root/lib/python2.7/site-packages/setuptools/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/lib/python2.7/site-packages/setuptools/extension.pyc

�
�fc@s�ddlZddlZddlZddlZddlZddlmZddlm	Z	d�Z
e
Ze	ejj
�Zdefd��YZ
de
fd	��YZdS(
i����N(tmapi(t
get_unpatchedcCs<d}yt|ddg�jtSWntk
r7nXtS(s0
    Return True if Cython can be imported.
    sCython.Distutils.build_exttfromlistt	build_ext(t
__import__RtTruet	ExceptiontFalse(tcython_impl((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyt_have_cythons
t	ExtensioncBs eZdZd�Zd�ZRS(s7Extension that uses '.c' files in place of '.pyx' filescOs2|jdt�|_tj|||||�dS(Ntpy_limited_api(tpopRRt
_Extensiont__init__(tselftnametsourcestargstkw((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyR#scCsqt�r
dS|jpd}|j�dkr4dnd}tjtjd|�}tt||j	��|_	dS(s�
        Replace sources with .pyx extensions to sources with the target
        language extension. This mechanism allows language authors to supply
        pre-converted sources but to prefer the .pyx sources.
        Ntsc++s.cpps.cs.pyx$(
R	tlanguagetlowert	functoolstpartialtretsubtlistRR(Rtlangt
target_extR((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyt_convert_pyx_sources_to_lang)s	(t__name__t
__module__t__doc__RR(((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyR
 s	tLibrarycBseZdZRS(s=Just like a regular Extension, but built as a library instead(RR R!(((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyR"8s(RRtdistutils.coret	distutilstdistutils.errorstdistutils.extensiontsetuptools.extern.six.movesRtmonkeyRR	t
have_pyrextcoreR
R
R"(((s8/usr/lib/python2.7/site-packages/setuptools/extension.pyt<module>s	

Zerion Mini Shell 1.0