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__/install_lib.cpython-312.pyc
�

SSh��`�ddlZddlZddlmZmZddlmcmZGd�dej�Zy)�N)�product�starmapc�^�eZdZdZd�Zd�Zd�Zed��Zd�Z	ed��Z
				dd�Zd	�Zy
)�install_libz9Don't add compiled flags to filenames of non-Python filesc�l�|j�|j�}|�|j|�yy�N)�build�install�byte_compile)�self�outfiless  �C/usr/lib/python3.12/site-packages/setuptools/command/install_lib.py�runzinstall_lib.run
s/���
�
���<�<�>�������h�'� �c����fd��j�D�}t|�j��}tt	�j
|��S)z�
        Return a collections.Sized collections.Container of paths to be
        excluded for single_version_externally_managed installations.
        c3�N�K�|]}�j|�D]}|����y�wr)�
_all_packages)�.0�ns_pkg�pkgrs   �r�	<genexpr>z-install_lib.get_exclusions.<locals>.<genexpr>s1�����
�/���)�)�&�1��
�1�
�/�s�"%)�_get_SVEM_NSPsr�_gen_exclusion_paths�setr�_exclude_pkg_path)r�all_packages�
excl_specss`  r�get_exclusionszinstall_lib.get_exclusionssJ���

��-�-�/�
���\�4�+D�+D�+F�G�
��7�4�1�1�:�>�?�?rc��|jd�|gz}tjj|jg|���S)zw
        Given a package name and exclusion path within that package,
        compute the full exclusion path.
        �.)�split�os�path�join�install_dir)rr�exclusion_path�partss    rrzinstall_lib._exclude_pkg_paths7��
�	�	�#��.�!1�1���w�w�|�|�D�,�,�5�u�5�5rc#�JK�|r|��|jd�\}}}|r�yy�w)zn
        >>> list(install_lib._all_packages('foo.bar.baz'))
        ['foo.bar.baz', 'foo.bar', 'foo']
        r N)�
rpartition)�pkg_name�sep�childs   rrzinstall_lib._all_packages's,������N�#+�#6�#6�s�#;� �H�c�5��s�#�#c��|jjsgS|jd�}|j}|r|jjSgS)z�
        Get namespace packages (list) but only for
        single_version_externally_managed installations and empty otherwise.
        r
)�distribution�namespace_packages�get_finalized_command�!single_version_externally_managed)r�install_cmd�svems   rrzinstall_lib._get_SVEM_NSPs1sL��� � �3�3��I��0�0��;���<�<��7;�t� � �3�3�C��Crc#��K�d��d��d��ttd�sytjj	ddtj
jz�}|dz��|d	z��|d
z��|dz��y�w)zk
        Generate file paths to be excluded for namespace packages (bytecode
        cache files).
        z__init__.pyz__init__.pycz__init__.pyo�implementationN�__pycache__z	__init__.z.pycz.pyoz
.opt-1.pycz
.opt-2.pyc)�hasattr�sysr"r#r$r5�	cache_tag)�bases rrz install_lib._gen_exclusion_pathsAsw�����������s�,�-���w�w�|�|�M�;��9K�9K�9U�9U�+U�V���V�m���V�m���\�!�!��\�!�!�s�A6A8c��	�
��|r|r|rJ�|j��	�	s!tjj|||�Sddlm}ddlm�
g��	�
�fd�}||||��S)Nr)�unpack_directory)�logc���|�vr�jd|�y�jd|tjj	|���j|�|S)Nz/Skipping installation of %s (namespace package)Fzcopying %s -> %s)�warn�infor"r#�dirname�append)�src�dst�excluder=r
s  ���r�pfz!install_lib.copy_tree.<locals>.pflsK����g�~����J�C�P���H�H�'��b�g�g�o�o�c�.B�C��O�O�C� ��Jr)r�origr�	copy_tree�setuptools.archive_utilr<�	distutilsr=)r�infile�outfile�
preserve_mode�preserve_times�preserve_symlinks�levelr<rFrEr=r
s         @@@rrHzinstall_lib.copy_treeVsd�����8I�I�I��%�%�'����#�#�-�-�d�F�G�D�D�	=�!���	�	���"�-��rc��tjj|�}|j�}|r|D�cgc]	}||vs�|��c}S|Scc}wr)rGr�get_outputsr)r�outputsrE�fs    rrRzinstall_lib.get_outputsxsO���"�"�.�.�t�4���%�%�'���&�;�w�!�!�7�*:�A�w�;�;����<s�	A	�A	N)�rUrrU)
�__name__�
__module__�__qualname__�__doc__rrr�staticmethodrrrrHrR�rrrrs\��C�(�@�6��<��<�D� �"��"�0���� �Drr)	r"r8�	itertoolsrr�distutils.command.install_lib�commandrrGr[rr�<module>r_s(��	�
�&�,�,�v�$�"�"�vr