관리-도구
편집 파일: util.cpython-311.pyc
� �܋f � �` � d dl mZ d dlmZ G d� d� � Zd� Z G d� d� � Zg d�Zd S ) � )� attrgetter)�ZipFilec � � e Zd Zd� Zed� � � Zed� � � Zed� � � Zed� � � Z e d� � � Zed� � � Zd� Z d � Zd � ZdS )�Wheelc �R � || _ |j � d� � | _ d S )N�-)�path�stem�split�_parts)�selfr s �l/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/virtualenv/seed/wheels/util.py�__init__zWheel.__init__ s$ � � �� ��i�o�o�c�*�*����� c � � |�A|j dk r6t |j � d� � � � dk r | |� � S d S )Nz.whlr � )�suffix�lenr r )�clsr s r � from_pathzWheel.from_path sH � �����v� 5� 5�#�d�i�o�o�c�>R�>R�:S�:S�WX�:X�:X��3�t�9�9���tr c � � | j d S )Nr �r �r s r �distributionzWheel.distribution � � ��{�1�~�r c � � | j d S )N� r r s r �versionz Wheel.version r r c �6 � | � | j � � S �N)�as_version_tupler r s r � version_tuplezWheel.version_tuple s � ��$�$�T�\�2�2�2r c �� � g }| � d� � dd� D ]6} |� t |� � � � �&# t $ r Y nw xY w|st | � � �t |� � S )N�.r � )r �append�int� ValueError�tuple)r �result�parts r r! zWheel.as_version_tuple s� � ����M�M�#�&�&�q��s�+� � �D� �� � �c�$�i�i�(�(�(�(��� � � ���� ����� &��W�%�%�%��V�}�}�s �"A� A�Ac � � | j j S r )r �namer s r r- z Wheel.name* s � ��y�~�r c � ��� d� | j j � d� � dd� � � � d�}t t | j � � d� � 5 }|� |� � � d� � }d d d � � n# 1 swxY w Y d�t �fd�|� � � D � � d � � }|�d S t d � |� d� � D � � � � �d� |� d � � D � � D ]�}d�fd�fd�fd�fd�fd�fd�fd�fd�fd�fd�fd�ffD ]�\ }}|� |� � rn|t |� � d � � � � } t d� | � d� � D � � � � dd� } || � � s dS n����d S )Nr r � z.dist-info/METADATA�rzutf-8zRequires-Python:c 3 �p �K � | ]0}|� �� � �|t �� � d � V � �1d S r )� startswithr )�.0�i�markers �r � <genexpr>z#Wheel.support_py.<locals>.<genexpr>3 sD �� � � �a�a�a�A�L�L�Y_�L`�L`�a��3�v�;�;�=�=�)�a�a�a�a�a�ar Tc 3 �4 K � | ]}t |� � V � �d S r �r'