[t #I d dl mc mZ d dlmZ d dlmZ d dlm Z n# e $ r ddlm Z Y nw xY w G d dej ZdS ) N)DistutilsSetupError)log)newer_pairwise_group c e Zd ZdZd 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 |D ]v\ }}| d }|t |t t f st d|z t t | }t j d| | dt }t |t st d|z g }| dt }t |t t f st d|z |D ]}|g} | | | |t } t | t t f st d|z | | | | | j || j }t || g g fk ri| d }| d } | d }| j || j || || j | j ||| j | j xd S ) 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_dirmacrosinclude_dirscflags)r r r extra_postargsdebug)r r )get isinstancelisttupler sortedr infodictextendappendcompilerobject_filenames build_tempr compiler create_static_libr )self librarieslib_name build_infor r dependenciesglobal_depssourcesrc_deps extra_depsexpected_objectsr r r s }/builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/command/build_clib.pybuild_librarieszbuild_clib.build_libraries s $- K K Hj nnY//Gj4-&H&H)13;< T']]++GH,h777 "~~j$&&99Hh-- )*,45 L #,,r46622KkD%=99 )*,45 " . ."8,,,%\\&$&&99 !*tUm<<