관리-도구
편집 파일: extension.cpython-35.opt-2.pyc
���]) � @ sG d d l Z d d l Z d d l Z Gd d � d � Z d d � Z d S)� Nc @ sR e Z d Z d d d d d d d d d d d d d d d d � Z d d � Z d S)� ExtensionNc K s| t | t � s t d � � t | t � o@ t d d � | D� � sO t d � � | | _ | | _ | pj g | _ | py g | _ | p� g | _ | p� g | _ | p� g | _ | p� g | _ | p� g | _ | p� g | _ | p� g | _ | p� g | _ | p g | _ | pg | _ | | _ | | _ t | � d k rxd d � | D� } d j t | � � } d | } t j | � d S) Nz'name' must be a stringc s s | ] } t | t � Vq d S)N)� isinstance�str)�.0�v� r �./opt/alt/python35/lib64/python3.5/extension.py� <genexpr>k s z%Extension.__init__.<locals>.<genexpr>z#'sources' must be a list of stringsr c S s g | ] } t | � � q Sr )�repr)r �optionr r r � <listcomp>� s z&Extension.__init__.<locals>.<listcomp>z, zUnknown Extension options: %s)r r �AssertionError�list�all�name�sources�include_dirs� define_macros�undef_macros�library_dirs� libraries�runtime_library_dirs� extra_objects�extra_compile_args�extra_link_args�export_symbols� swig_opts�depends�language�optional�len�join�sorted�warnings�warn)�selfr r r r r r r r r r r r r r r r �kw�options�msgr r r �__init__W s4 zExtension.__init__c C s) d | j j | j j | j t | � f S)Nz<%s.%s(%r) at %#x>)� __class__� __module__�__qualname__r �id)r% r r r �__repr__� s zExtension.__repr__)�__name__r+ r, r) r. r r r r r s D!r c C s� d d l m } m } m } d d l m } d d l m } | | � } | | d d d d d d d d d d �} zg } x| j � } | d k r� P| j | � r� q~ | d | d'