efddlmcmZddlmZddlmZ ddlm Z n#e $r ddl m Z YnwxYwGddejZdS)N)DistutilsSetupError)log)newer_pairwise_groupceZdZdZdZdS) 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 |D]v\}}|d}|t|ttfst d|zt t|}t jd||dt}t|tst d|zg}|dt}t|ttfst d|z|D]}|g} | |||t} t| ttfst d|z| | | | |j ||j } t|| ggfkri|d} |d } |d }|j ||j | | ||j |j | ||j|j xdS) Nsourceszfin 'libraries' option (library '%s'), 'sources' must be present and must be a list of source filenameszbuilding '%s' libraryobj_depsz\in 'libraries' option (library '%s'), 'obj_deps' must be a dictionary of type 'source: list') output_dirmacros include_dirscflags)r rrextra_postargsdebug)r r)get isinstancelisttuplersortedrinfodictextendappendcompilerobject_filenames build_temprcompilercreate_static_libr)self librarieslib_name build_infor r dependencies global_depssourcesrc_deps extra_depsexpected_objectsrrrs }/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/command/build_clib.pybuild_librarieszbuild_clib.build_librariess$-K K  Hj nnY//Gj4-&H&H)13;< T']]++G H,h 7 7 7 "~~j$&&99Hh-- )*,45 L#,,r46622KkD%=99 )*,45" . ."8 ,,,%\\&$&&99 !*tUm<<-.089  +++##H----#}==? >    $L2BCCBxOO$11)~~n== #11 %%#!!-#)* & M + + (tdj ,    SK K N)__name__ __module__ __qualname____doc__r,r-r+rr s2  LLLLLr-r) distutils.command.build_clibcommandrorigdistutils.errorsr distutilsrdistutils._modifiedr ImportError_distutils._modifiedr2r-r+r;s+++++++++000000<8888888<<<;;;;;;;;< \\\\\\\\\\s  ,,