403Webshell
Server IP : 54.37.205.81  /  Your IP : 216.73.216.76
Web Server : nginx/1.22.1
System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64
User : debian ( 1000)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/wheel/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/wheel/__pycache__/metadata.cpython-311.pyc
�

�lc���~�dZddlmZddlZddlZddlmZddlm	Z	ddl
mZddlm
Z
mZmZdd�Zdd�Zdd�Zdd�ZdS)z2
Tools for converting old- to new-style metadata.
�)�annotationsN)�Message)�Parser)�Iterator)�Requirement�
safe_extra�split_sections�requirementr�return�strc���t|dd��r
d|jzSg}|jD]\}}|�||z���|r(dd�t|����zdzSdS)zFReturn the version specifier for a requirement in PEP 345/566 fashion.�urlNz @ z (�,�)�)�getattrr�specs�append�join�sorted)r
�
requires_dist�op�vers    �0/usr/lib/python3/dist-packages/wheel/metadata.py�requires_to_requires_distrs����{�E�4�(�(�'��{��&�&��M��$�'�'���C����R�#�X�&�&�&�&����c�h�h�v�m�4�4�5�5�5��;�;��r��requirements�	list[str]�
Iterator[str]c#��K�|D]c}tj|��}t|��}d�t	|j����}|rd|�d�}|j|z|zV��ddS)z=Yield Requires-Dist: strings for parsed requirements strings.r�[�]N)r�parserrr�extras�project_name)r�req�parsed_requirement�specr$s     r�convert_requirementsr)s������>�>��(�.�s�3�3��(�);�<�<�����&�!3�!:�;�;�<�<���	#�"��]�]�]�F� �-��6��=�=�=�=�=�>�>r�extras_require�dict[str, list[str]]�Iterator[tuple[str, str]]c#�K�|���D]s\}}d}|pd}d|vr|�dd��\}}t|��}|rd|fV�|rd|zdz}|d|zz
}|rd|z}t|��D]}d	||zfV���td
S)a,
    Convert requirements from a setup()-style dictionary to
    ('Requires-Dist', 'requirement') and ('Provides-Extra', 'extra') tuples.

    extras_require is a dictionary of {extra: [requirements]} as passed to setup(),
    using the empty extra {'': [requirements]} to hold install_requires.
    r�:��Provides-Extra�(z) and z
extra == '%s'z ; �
Requires-DistN)�items�splitrr))r*�extra�depends�	condition�new_reqs     r�generate_requirementsr9*s�����)�.�.�0�0�7�7���w��	������%�<�<�$�{�{�3��2�2��E�9��5�!�!���	1�"�E�)�)�)�)��
7��)�O�h�6�	���5�0�0�I��	*��	�)�I�+�G�4�4�	7�	7�G�!�7�Y�#6�6�6�6�6�6�	7�!7�7r�
egg_info_path�pkginfo_pathrc
��t|d���5}t���|��}ddd��n#1swxYwY|�dd��|d=|d=tj�|d��}tj�|��r�t|��5}|���}ddd��n#1swxYwYtt|��d	��
��}|D]9\}}	t||	i��D]"\}
}|
|f|���vr|||
<�#�:|d}|r�|d�
��}
d�|
d
���tjd�|
dd�����df��}|�|��|d=|S)zN
    Convert .egg-info directory with PKG-INFO to the Metadata 2.1 format
    zutf-8)�encodingNzMetadata-Versionz2.1r0r2zrequires.txtc��|dpdS)Nrr�)�xs r�<lambda>z%pkginfo_to_metadata.<locals>.<lambda>Xs��Q�q�T�Z�UW�r)�key�Description�
rr/)�openrr#�replace_header�os�pathr�exists�readrr	r9r3�
splitlines�lstrip�textwrap�dedent�set_payload)r:r;�headers�pkg_info�
requires_path�
requires_file�requires�parsed_requirementsr5�reqsrB�value�description�description_lines�dedented_descriptions               r�pkginfo_to_metadatar[Hsc��
�l�W�	-�	-�	-�+���8�8�>�>�'�*�*��+�+�+�+�+�+�+�+�+�+�+����+�+�+�+�
���.��6�6�6��!�"���!��G�L�L���?�?�M�	�w�~�~�m�$�$�*�
�-�
 �
 �	,�M�$�)�)�+�+�H�	,�	,�	,�	,�	,�	,�	,�	,�	,�	,�	,����	,�	,�	,�	,�%�^�H�%=�%=�CW�CW�X�X�X��.�	*�	*�K�E�4�3�U�D�M�B�B�
*�
*�
��U���<�x�~�~�'7�'7�7�7�$)�H�S�M��
*��=�)�K��$�$�]�3�>�>�@�@��#�y�y�"�!�$�+�+�-�-����	�	�*;�A�B�B�*?� @� @�A�A��
� 
� 
��	���1�2�2�2��]�#��Os#�"A�A�A�5C�C�C)r
rrr)rrrr)r*r+rr,)r:rr;rrr)�__doc__�
__future__r�os.pathrGrM�
email.messager�email.parserr�typingr�
pkg_resourcesrrr	rr)r9r[r?rr�<module>rcs�����#�"�"�"�"�"���������!�!�!�!�!�!�������������A�A�A�A�A�A�A�A�A�A�����	>�	>�	>�	>�7�7�7�7�<%�%�%�%�%�%r

Youez - 2016 - github.com/yon3zu
LinuXploit