xz4( b d dl mc mZ d dlmZ d dlmZ d dlm Z G d dej ZdS ) N)DistutilsSetupError)log)newer_pairwise_groupc 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/BUILDROOT/alt-python311-setuptools-65.6.3-2.el9.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/command/build_clib.pybuild_librarieszbuild_clib.build_libraries s &/ M M "Xz nnY//Gj4-&H&H)13;<= = = T']]++GH,h777 "~~j$&&99Hh-- 6)*,456 6 6 L #,,r46622KkD%=99 6)*,456 6 6 " . ."8,,,%\\&$&&99 !*tUm<<