a „oe»ã@spddlmmZddlmZddlmZzddlm Z Wne yXddl m Z Yn0Gdd„dejƒZdS)éN)ÚDistutilsSetupError)Úlog)Únewer_pairwise_groupéc@seZdZdZdd„ZdS)Ú build_clibav 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 Csv|D�]j\}}| d¡}|dus.t|ttfƒs:td|ƒ‚tt|ƒƒ}t d|¡| dtƒ¡}t|tƒsvtd|ƒ‚g}| dtƒ¡}t|ttfƒs¢td|ƒ‚|D]P}|g} |   |¡| |tƒ¡} t| ttfƒsâtd|ƒ‚|   | ¡|  | ¡q¦|j j ||j d�} t|| ƒggfk�rX| d¡} | d ¡} | d ¡}|j j||j | | ||jd �|j j| ||j|jd �qdS) NÚsourceszfin 'libraries' option (library '%s'), 'sources' must be present and must be a list of source filenameszbuilding '%s' libraryÚobj_depsz\in 'libraries' option (library '%s'), 'obj_deps' must be a dictionary of type 'source: list'Ú)Ú output_dirÚmacrosÚ include_dirsÚcflags)r r r Zextra_postargsÚdebug)r r)ÚgetÚ isinstanceÚlistÚtuplerÚsortedrÚinfoÚdictÚextendÚappendZcompilerZobject_filenamesZ build_temprÚcompilerZcreate_static_libr)ÚselfZ librariesZlib_nameZ build_inforrZ dependenciesZ global_depsÚsourceZsrc_depsZ extra_depsZexpected_objectsr r r ©rú>C:\Program Files\Certbot\pkgs\setuptools\command\build_clib.pyÚbuild_librariessp þÿ   þÿþÿ þÿ  þ   ú  ÿzbuild_clib.build_librariesN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrrrr sr) Zdistutils.command.build_clibZcommandrZorigZdistutils.errorsrZ distutilsrZdistutils._modifiedrÚ ImportErrorZ_distutils._modifiedrrrrÚs