• File: build_clib.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/lib/python2.7/site-packages/setuptools/command/build_clib.pyc
  • Date Modified: 05/07/2020 3:04 PM
  • File size: 2.78 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

#^c@s_ddljjZddlmZddlmZddlm	Z	dejfdYZdS(iN(tDistutilsSetupError(tlog(tnewer_pairwise_groupt
build_clibcBseZdZdZRS(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.
    cCs4x-|D]%\}}|jd}|dksDt|ttfrWtd|nt|}tjd||jdt}t|tstd|ng}|jdt}t|ttfstd|nx{|D]s}|g}	|	j	||j|t}
t|
ttfsMtd|n|	j	|
|j
|	qW|jj|d|j
}t||ggfkr|jd}|jd	}
|jd
}|jj|d|j
d|d	|
d|d|j}n|jj||d|jd|jqWdS(
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