ok
Direktori : /proc/thread-self/root/proc/self/root/usr/lib/python2.7/site-packages/setuptools/ |
Current File : //proc/thread-self/root/proc/self/root/usr/lib/python2.7/site-packages/setuptools/extension.pyc |
� b-�Qc @ s� d d l Z d d l Z d d l Z d d l m Z e e j j � Z d � Z d e f d � � YZ d e f d � � YZ e e j _ e e j _ d e j k r� e e j d _ n d S( i����N( t _get_unpatchedc C sM d } x@ | D]8 } y t | d d g �j t SWq t k rD q Xq Wt S( s9 Return True if Cython or Pyrex can be imported. s Cython.Distutils.build_exts Pyrex.Distutils.build_extt fromlistt build_ext( s Cython.Distutils.build_exts Pyrex.Distutils.build_ext( t __import__R t Truet Exceptiont False( t pyrex_implst pyrex_impl( ( s8 /usr/lib/python2.7/site-packages/setuptools/extension.pyt have_pyrex s t Extensionc B s e Z d Z d � Z d � Z RS( s7 Extension that uses '.c' files in place of '.pyx' filesc O s- t j | | | � t � s) | j � n d S( N( t _Extensiont __init__R t _convert_pyx_sources_to_c( t selft argst kw( ( s8 /usr/lib/python2.7/site-packages/setuptools/extension.pyR s c C s( d � } t t | | j � � | _ d S( s convert .pyx extensions to .cc S s$ | j d � r | d d } n | S( Ns .pyxi����s .c( t endswith( t source( ( s8 /usr/lib/python2.7/site-packages/setuptools/extension.pyt pyx_to_c"