OwlCyberSecurity - MANAGER
Edit File: _requirestxt.cpython-313.pyc
� ����E\Lgo�����������������������n����S�r�SSKrSSKJr �SSKJr �SSKJrJrJ r J r Jr �SSKJ r �SSKJr �SS KJr �\"�S 5������r\\S4���r\r\ R,������������������rS\S\ \\4���S \ \\���\\\\���4���4���4S�jrS\S \ \\\���4���4S�jrS\S\ \\\���4���S \ \\���\\\\���4���4���4S�jrS�rS�rS�rS�rS�rS�r g)aS��Helper code used to generate ``requires.txt`` files in the egg-info directory. The ``requires.txt`` file has an specific format: - Environment markers need to be part of the section headers and should not be part of the requirement spec itself. See https://setuptools.pypa.io/en/latest/deprecated/python_eggs.html#requires-txt �����N)�defaultdict)�filterfalse)�Dict�List�Tuple�Mapping�TypeVar����)�_reqs)�yield_lines)�Requirement�_T�install_requires�extras_require�returnc������������������.�����[��������U5������n[��������X5������$�)z�Given values for ``install_requires`` and ``extras_require`` create modified versions in a way that can be written in ``requires.txt`` )�_convert_extras_requirements�"_move_install_requirements_markers)r���r����extrass��� ژ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-1.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/setuptools/command/_requirestxt.py�_preparer������s�������*�.� 9�F�-�.>�G�G�����c������������������������[��������[��������5������nU�R������������������5��������HE��u��p#X��� �[��������R������������������"�U5�������H"��nX[��������U5������-������R ������������������U5������ �M$��� �MG��� �U$�)z� Convert requirements in `extras_require` of the form `"extra": ["barbazquux; {marker}"]` to `"extra:{marker}": ["barbazquux"]`. )r����dict�itemsr����parse�_suffix_for� setdefault)r����output�section�v�rs��� r���r���r���$���s[�������3>�d�2C�F�$�*�*�,� �������Q��A��[��^�+�,�7�7��:�� ��-���Mr���c������������������^����[��������[��������R������������������"�U�5������5������n[��������[��������U5������n[��������[��������U5������n[��������[ ��������[��������U5������5������nU�H-��nUS[��������UR������������������5������-������R������������������U5������ �M/��� �[��������S�UR������������������5��������5�������5������nXW4$�)a�� The ``requires.txt`` file has an specific format: - Environment markers need to be part of the section headers and should not be part of the requirement spec itself. Move requirements in ``install_requires`` that are using environment markers ``extras_require``. �:c��������������3�������#� ���U�H<��u��pU[��������[��������R������������������S��[��������[��������U5�������5�������5������5������4v�� �M>��� �g7f)c��������������3����6���#� ���U�H��n[��������U5������v�� �M��� �g�7f�N)�str)�.0r"���s��� r���� <genexpr>�?_move_install_requirements_markers.<locals>.<genexpr>.<genexpr>O���s��������B�/A�!�s�1�v�v�/A�s����N)�listr����fromkeys�map� _clean_req)r)����kr!���s��� r���r*����5_move_install_requirements_markers.<locals>.<genexpr>M���s;�����������+�D�A�� �D����B�s�:�q�/A�B�B�C�D�*�s����AA)r,���r���r����filter� _no_markerr���r.���r(����markerr���r���r���)r���r���� inst_reqs�simple_reqs�complex_reqs�simple_install_requiresr"����expanded_extrass��� r���r���r���6���s���������U�[�[�!1�2�3�I���Y�/�K��z�9�5�L�"�3�s�K�#8�9�� ���s�S����]�*�+�6�6�q�9��������#�(�(�*����O��#�3�3r���c������������������X�����U�R�������������������(�������a��S[��������U�R�������������������5������-���$�S$�)z;Return the 'extras_require' suffix for a given requirement.r$�����)r4���r(�����reqs��� r���r���r���V���s ������$'�J�J�3��S�Z�Z�� �6�B�6r���c������������������<�����[��������[��������U�5������5������nSUl��������U$�)z=Given a Requirement, remove environment markers and return itN)r ���r(���r4���)r=���r"���s��� r���r/���r/���[���s�������C��H��A��A�H��Hr���c������������������$�����U�R�������������������(�������+�$�r'���)r4���r<���s��� r���r3���r3���b���s�������z�z�>�r���c������������������j�����[��������U=(�������d�� �S5������nS�n[��������X25������nU�R������������������U5������ �g�)N��c�����������������������U�S-���$�)N� rA���)�lines��� r���� append_cr�&_write_requirements.<locals>.append_cri���s�������d�{�r���)r���r.���� writelines)�stream�reqs�linesrE���s��� r����_write_requirementsrK���f���s/�������� ��#�E��� � �!�E� ���e�r���c����������� �����������U�R�������������������n[��������R������������������"�5�������n[��������UR������������������=(�������d�� �SUR ������������������=(�������d�� �0�5������u��pV[ ��������XE5������ �[��������U5�������H:��nUR������������������SR������������������"�S0�[��������5�������D65������ �[ ��������XFU���5������ �M<��� �U�R������������������SX$R������������������5�������5������ �g�)NrA���z [{extra}] �requirements) �distribution�io�StringIOr���r���r���rK����sorted�write�format�vars�write_or_delete_file�getvalue)�cmd�basename�filename�dist�datar���r����extras��� r����write_requirementsr]���p���s����������D� �;�;�=�D�'/����#��T�%8�%8�%>�B�(�$�����/���'��� � �?�)�)�3�D�F�3�4��D��"7�8��(�����^�X�}�}��Gr���c�����������������������[���������R������������������"�5�������n[��������X0R������������������R������������������5������ �U�R������������������SX#R ������������������5�������5������ �g�)Nzsetup-requirements)rO���rP���rK���rN����setup_requiresrU���rV���)rW���rX���rY���r[���s��� r����write_setup_requirementsr`���}���s8������ �;�;�=�D���.�.�=�=�>����1�8�]�]�_�Mr���)!�__doc__rO����collectionsr���� itertoolsr����typingr���r���r���r���r ���r;���r����extern.jaraco.textr����extern.packaging.requirementsr ���r����_Orderedr����_ordered� _StrOrIterr(���r���r���r���r���r/���r3���rK���r]���r`���rA���r���r����<module>rj������s������ ��#��!��6��6����,��7�� �T�]����D��>���� � � � �H� �H�29�#�z�/�2J�H� �4��9�d�3��S� �>�*�*�+�H�����S�(�;�'� '�(��$4� �4�29�#�x��?T�:T�2U�4� �4��9�d�3��S� �>�*�*�+�4�@7� ��� H�Nr���