🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-09 20:21:06 | PHP 8.2.33
📂
/ (Root)
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
setuptools
/
_vendor
/
wheel
/
__pycache__
📍 /opt/cloudlinux/venv/lib/python3.11/site-packages/setuptools/_vendor/wheel/__pycache__
🔄 Refresh
✏️
Editing: _metadata.cpython-311.pyc
Read Only
� 1j, � �" � d Z ddlmZ ddlZddlZddlZddlZddlZddl m Z mZmZ ddl mZ ddlmZ ddlmZ ddlmZ d)d�Zej d*d�� � Ze� e� � d+d�� � Zd,d�Zd-d�Zd.d�Zd/d�Zd0d �Zd1d$�Z d2d(�Z!dS )3z2 Tools for converting old- to new-style metadata. � )�annotationsN)� Generator�Iterable�Iterator)�Message)�Parser)�Literal)�Requirement�str�return�bool | Literal['']c �2 � | o| � d� � S )N�#)� startswith)r s �t/builddir/build/BUILD/cloudlinux-venv-1.0.11/venv/lib/python3.11/site-packages/setuptools/_vendor/wheel/_metadata.py� _nonblankr s � ��*�s�~�~�c�*�*�*�*� �iterable� Iterable[str]� Iterator[str]c �f � t j � t t | � � � � S )a� Yield valid lines of a string or iterable. >>> list(yield_lines('')) [] >>> list(yield_lines(['foo', 'bar'])) ['foo', 'bar'] >>> list(yield_lines('foo\nbar')) ['foo', 'bar'] >>> list(yield_lines('\nfoo\n#bar\nbaz #comment')) ['foo', 'baz #comment'] >>> list(yield_lines(['foo\nbar', 'baz', 'bing\n\n\n'])) ['foo', 'bar', 'baz', 'bing'] )� itertools�chain� from_iterable�map�yield_lines)r s r r r s$ � � �?�(�(��[�(�)C�)C�D�D�Dr �textc � � t t t t j | � � � � � � � S �N)�filterr r r �strip� splitlines)r s r �_r# * s( � ��)�S���D�O�O�,=�,=�>�>�?�?�?r �s�str | Iterator[str]�3Generator[tuple[str | None, list[str]], None, None]c # �2 K � d}g }t | � � D ]z}|� d� � rN|� d� � r)|s|r||fV � |dd� � � � }g }�Ut d|� � �|� |� � �{||fV � dS )ar Split a string or iterable thereof into (section, content) pairs Each ``section`` is a stripped version of the section header ("[section]") and each ``content`` is a list of stripped lines excluding blank lines and comment-only lines. If there are any such lines before the first section header, they're returned in a first ``section`` of ``None``. N�[�]� ���zInvalid section heading)r r �endswithr! � ValueError�append)r$ �section�content�lines r �split_sectionsr2 / s� � � � � �G��G��A��� !� !���?�?�3��� !��}�}�S�!�!� B�� +�g� +�!�7�*�*�*�*��q��t�*�*�*�,�,����� �!:�D�A�A�A��N�N�4� � � � � �7� �����r �extrac �R � t j dd| � � � � � S )z�Convert an arbitrary string to a standard 'extra' name Any runs of non-alphanumeric characters are replaced with a single '_', and the result is always lowercased. z[^A-Za-z0-9.-]+r# )�re�sub�lower)r3 s r � safe_extrar8 J s% � � �6�#�S�%�0�0�6�6�8�8�8r �namec �. � t j dd| � � S )z�Convert an arbitrary string to a standard distribution name Any runs of non-alphanumeric/. characters are replaced with a single '-'. z[^A-Za-z0-9.]+�-)r5 r6 )r9 s r � safe_namer<