MOON
Server: Apache
System: Linux s5.yayogua.com.py 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
User: sanbercountryclu (1012)
PHP: 8.2.33
Disabled: NONE
Upload Files
File: //lib/python3.12/site-packages/setuptools/command/__pycache__/build_clib.cpython-312.opt-1.pyc
�

SSh����ddlmcmZddlmZddlmZ	ddlm	Z	Gd�dej�Zy#e
$r	ddlm	Z	Y�#wxYw)�N)�DistutilsSetupError)�log)�newer_pairwise_group�c��eZdZdZd�Zy)�
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	�j�|D�]-\}}|jd�}|�t|ttf�st	d|z��tt|��}t
jd|�|jdt��}t|t�st	d|z��g}|jdt��}t|ttf�st	d|z��|D]v}|g}	|	j|�|j|t��}
t|
ttf�st	d|z��|	j|
�|j|	��x|jj||j��}t||�ggfk7rh|jd�}|jd	�}
|jd
�}|jj||j||
||j ��|jj#|||j$|j ����0y)
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
rr�extra_postargs�debug)r
r)�get�
isinstance�list�tupler�sortedr�info�dict�extend�append�compiler�object_filenames�
build_tempr�compiler�create_static_libr)�self�	libraries�lib_name�
build_infor
r�dependencies�global_deps�source�src_deps�
extra_deps�expected_objectsrrrs               �B/usr/lib/python3.12/site-packages/setuptools/command/build_clib.py�build_librarieszbuild_clib.build_librariess��$-� �H�j� �n�n�Y�/�G���j��4��-�&H�)�1�3;�<���
�T�'�]�+�G��H�H�,�h�7�
"�~�~�j�$�&�9�H��h��-�)�*�,4�5���
�L�#�,�,�r�4�6�2�K��k�D�%�=�9�)�*�,4�5���"��"�8������,�%�\�\�&�$�&�9�
�!�*�t�U�m�<�-�.�08�9���
���
�+��#�#�H�-�"� $�}�}�=�=���?�?� >� ��
$�L�2B�C��B�x�O�$����1��)�~�~�n�=��#����1���
�
�%�%��#���!�!-�#)��*�*�
&��
�M�M�+�+� �(�t���d�j�j�
,�
�S%.�N)�__name__�
__module__�__qualname__�__doc__r,�r-r+rrs
��
�Lr-r)�distutils.command.build_clib�commandr�orig�distutils.errorsr�	distutilsr�distutils._modifiedr�ImportError�_distutils._modifiedr2r-r+�<module>r;s?��+�+�0��<�8�\����\���<�;�<�s�3�A�A