Your IP : 3.133.122.95
�
��Rec @ s_ d d l j j Z d d l m Z d d l m Z d d l m Z d e j f d � � YZ d S( i����N( t DistutilsSetupError( t log( t newer_pairwise_groupt
build_clibc B s e Z d Z d � Z RS( sv
Override the default build_clib behaviour to do the following:
1. Implement a rudimentary timestamp-based dependency system
so 'compile()' doesn't run every time.
2. Add more keys to the 'build_info' dictionary:
* obj_deps - specify dependencies for each object compiled.
this should be a dictionary mapping a key
with the source filename to a list of
dependencies. Use an empty string for global
dependencies.
* cflags - specify a list of additional flags to pass to
the compiler.
c
C s4 x-| D]%\ } } | j d � } | d k sD t | t t f � rW t d | � � n t | � } t j d | � | j d t � � } t | t � s� t d | � � n g } | j d t � � } t | t t f � s� t d | � � n x{ | D]s } | g } | j | � | j | t � � }
t |
t t f � sMt d | � � n | j |
� | j
| � q� W| j j | d | j
�} t | | � g g f k r| j d � } | j d � }
| j d
� } | j j | d | j
d | d |
d | d | j �} n | j j | | d | j d | j �q Wd S(
Nt sourcessf in 'libraries' option (library '%s'), 'sources' must be present and must be a list of source filenamess building '%s' libraryt obj_depss\ in 'libraries' option (library '%s'), 'obj_deps' must be a dictionary of type 'source: list't t
output_dirt macrost include_dirst cflagst extra_postargst debug( t gett Nonet
isinstancet listt tupleR R t infot dictt extendt appendt compilert object_filenamest
build_tempR t compileR t create_static_libR ( t selft librariest lib_namet
build_infoR R t dependenciest global_depst sourcet src_depst
extra_depst expected_objectsR R R
t objects( ( s� /builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/build_clib.pyt build_libraries s` "
( t __name__t
__module__t __doc__R&