Your IP : 3.145.12.100


Current Path : /lib/python2.7/site-packages/setuptools/command/
Upload File :
Current File : //lib/python2.7/site-packages/setuptools/command/build_clib.pyc

�
�fc@s_ddljjZddlmZddlmZddlm	Z	dejfd��YZdS(i����N(tDistutilsSetupError(tlog(tnewer_pairwise_groupt
build_clibcBseZdZd�ZRS(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
Cs4x-|D]%\}}|jd�}|dksDt|ttf�rWtd|��nt|�}tjd|�|jdt��}t|t�s�td|��ng}|jdt��}t|ttf�s�td|��nx{|D]s}|g}	|	j	|�|j|t��}
t|
ttf�sMtd|��n|	j	|
�|j
|	�q�W|jj|d|j
�}t||�ggfkr|jd�}|jd	�}
|jd
�}|jj|d|j
d|d	|
d|d|j�}n|jj||d|jd|j�qWdS(
Ntsourcessfin 'libraries' option (library '%s'), 'sources' must be present and must be a list of source filenamessbuilding '%s' librarytobj_depss\in 'libraries' option (library '%s'), 'obj_deps' must be a dictionary of type 'source: list'tt
output_dirtmacrostinclude_dirstcflagstextra_postargstdebug(tgettNonet
isinstancetlistttupleRRtinfotdicttextendtappendtcompilertobject_filenamest
build_tempRtcompileRtcreate_static_libR(tselft	librariestlib_namet
build_infoRRtdependenciestglobal_depstsourcetsrc_depst
extra_depstexpected_objectsRR	R
tobjects((sA/usr/lib/python2.7/site-packages/setuptools/command/build_clib.pytbuild_librariess`"



	


					(t__name__t
__module__t__doc__R&(((sA/usr/lib/python2.7/site-packages/setuptools/command/build_clib.pyRs(
tdistutils.command.build_clibtcommandRtorigtdistutils.errorsRt	distutilsRtsetuptools.dep_utilR(((sA/usr/lib/python2.7/site-packages/setuptools/command/build_clib.pyt<module>s

?>