\bgnddlmZddlmZddlmcmZddlm Z ddl m Z GddejZdS) ) Distribution)newer_pairwise_groupN)log)DistutilsSetupErrorc&eZdZUdZeed<ddZdS) 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. distributionreturnNc |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)rrrextra_postargsdebug)rr)get isinstancelisttuplersortedrinfodictextendappendcompilerobject_filenames build_temprcompilercreate_static_libr )self librarieslib_name build_infor r dependencies global_depssourcesrc_deps extra_depsexpected_objectsrrrs n/builddir/build/BUILD/cloudlinux-venv-1.0.7/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 )r N)__name__ __module__ __qualname____doc__r__annotations__r/r0r.r r sH  LLLLLLr0r ) distrmodifiedrdistutils.command.build_clibcommandr orig distutilsrdistutils.errorsrr6r0r.r>s+++++++++++++++000000^^^^^^^^^^r0