OwlCyberSecurity - MANAGER
Edit File: install_lib.cpython-311.pyc
� ����,�Re#�����������������������^�����d�dl�Z�d�dlZd�dlmZmZ�d�dlmc�mZ��G�d��dej��������������������ZdS�)�����N)�product�starmapc��������������������f�����e�Zd�ZdZd��Zd��Zd��Zed����������������Zd��Z ed����������������Z �d d �Zd��ZdS�)�install_libz9Don't add compiled flags to filenames of non-Python filesc�����������������������|��������������������������������������|������������������������������������}|�|����������������������|�������������d�S�d�S��N)�build�install�byte_compile)�self�outfiless��� ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/command/install_lib.py�runzinstall_lib.run ���sD������� � �����<�<�>�>�������h�'�'�'�'�'�� ������c����������������������������fd���������������������������������������D���������������}t����������|�������������������������������������������������}t����������t ������������j��������|������������������������S�)z� Return a collections.Sized collections.Container of paths to be excluded for single_version_externally_managed installations. c��������������3����L����K����|�]}�����������������������|������������D�]}|V�����d�S�r���)� _all_packages)�.0�ns_pkg�pkgr���s��� �r���� <genexpr>z-install_lib.get_exclusions.<locals>.<genexpr>���s\������������ �� ���)�)�&�1�1� �� ���� � �� �� �� �� �� �� r���)�_get_SVEM_NSPsr����_gen_exclusion_paths�setr����_exclude_pkg_path)r����all_packages� excl_specss���` r����get_exclusionszinstall_lib.get_exclusions���so������� �� �� �� ��-�-�/�/� �� �� ����\�4�+D�+D�+F�+F�G�G� ��7�4�1�:�>�>�?�?�?r���c������������������l�����|����������������������d������������|gz���}t����������j��������j��������|�j��������g|�R���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��� r���r���zinstall_lib._exclude_pkg_path���s8������ �� � �#���.�!1�1���w�|�D�,�5�u�5�5�5�5r���c��������������#����P���K����|�r!|�V���|�����������������������d������������\��}�}}|��dS�dS�)zn >>> list(install_lib._all_packages('foo.bar.baz')) ['foo.bar.baz', 'foo.bar', 'foo'] r ���N)� rpartition)�pkg_name�sep�childs��� r���r���zinstall_lib._all_packages'���sQ������������� <��N�N�N�#+�#6�#6�s�#;�#;� �H�c�5���� <�� <�� <�� <�� <r���c������������������v�����|�j���������j��������sg�S�|����������������������d������������}|j��������}|r|�j���������j��������ng�S�)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��� r���r���zinstall_lib._get_SVEM_NSPs1���sH�������� �3�� ��I��0�0��;�;���<��7;�C�t� �3�3��Cr���c���������������#��������K����dV���dV���dV���t����������t����������d������������sdS�t����������j�����������������������������ddt����������j��������j��������z���������������}�|�dz���V���|�d z���V���|�d z���V���|�dz���V���dS�)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��� r���r���z install_lib._gen_exclusion_pathsA���s�������������������������s�,�-�-�� ��F��w�|�|��;��);�)E�E�G��G���V�m�����V�m�����\�!�!�!�!��\�!�!�!�!�!�!r�������r���c����������������������� � ���|r|r|rJ��|�������������������������������������� � s!t����������j�����������������������������|�||������������S�ddlm}�ddlm� �g��� � �fd�}�||||��������������S�)Nr���)�unpack_directory)�logc�������������������������|�v�r�����������������������d|�������������dS�����������������������d|�t����������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>.pfh���si��������g�~�~����J��������u��H�H�'��b�g�o�o�c�.B�.B�C�C�C��O�O�C� � � ��Jr���)r����origr���� copy_tree�setuptools.archive_utilr=���� distutilsr>���)r����infile�outfile� preserve_mode�preserve_times�preserve_symlinks�levelr=���rG���rF���r>���r ���s��� @@@r���rI���zinstall_lib.copy_treeW���s������������I��I�8I�I�I�I��%�%�'�'���� E��#�-�-�d�F�G�D�D�D�� =�<�<�<�<�<�!�!�!�!�!�!��� �� �� �� �� �� �� �� ����"�-�-�-��r���c������������������������t�����������j�����������������������������|�������������}|��������������������������������������r�fd�|D���������������S�|S�)Nc������������������������g�|�]}|�v�|�� S���rT���)r����frF���s��� �r���� <listcomp>z+install_lib.get_outputs.<locals>.<listcomp>y���s#�������;�;�;�!�!�7�*:�*:�A�*:�*:�*:r���)rH���r����get_outputsr���)r����outputsrF���s��� @r���rW���zinstall_lib.get_outputsu���sQ��������"�.�.�t�4�4���%�%�'�'���� <�;�;�;�;�w�;�;�;�;��r���N)r;���r;���r���r;���) �__name__� __module__�__qualname__�__doc__r���r���r����staticmethodr���r���r���rI���rW���rT���r���r���r���r������s���������������C�C�(��(��(�@��@��@�6��6��6���<��<���\�<�D��D��D� ��"��"���\�"�.�KL��������<��������r���r���) r"���r8���� itertoolsr���r����distutils.command.install_lib�commandr���rH���rT���r���r����<module>ra������s������� � � � �� � � � ��&��&��&��&��&��&��&��&��,��,��,��,��,��,��,��,��,�s��s��s��s��s�$�"��s��s��s��s��sr���