관리-도구
편집 파일: extension.cpython-34.pyc
� M�Re| � @ s� d d l Z d d l Z d d l Z d d l m Z e e j j � Z d d � Z Gd d � d e � Z Gd d � d e � Z e e j _ e e j _ d e j k r� e e j d _ n d S) � N)�_get_unpatchedc C sN d } xA | D]9 } y t | d d g �j d SWq t k rE Yq Xq Wd S)z9 Return True if Cython or Pyrex can be imported. �Cython.Distutils.build_ext�Pyrex.Distutils.build_ext�fromlist� build_extTF)r r )� __import__r � Exception)Zpyrex_implsZ pyrex_impl� r �//tmp/pip-l4uy7dan-build/setuptools/extension.py� have_pyrex s r c @ s. e Z d Z d Z d d � Z d d � Z d S)� Extensionz7Extension that uses '.c' files in place of '.pyx' filesc O s- t j | | | � t � s) | j � n d S)N)� _Extension�__init__r �_convert_pyx_sources_to_c)�self�args�kwr r r r s zExtension.__init__c C s+ d d � } t t | | j � � | _ d S)zconvert .pyx extensions to .cc S s* | j d � r&