Viewing File: /opt/hc_python/lib/python3.12/site-packages/pip/_internal/models/__pycache__/wheel.cpython-312.pyc
�
T�*jh � �d � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm
Z
ddlmZ G d� d� Zy )
z`Represents a wheel file and provides access to the various parts of the
name that have meaning.
� )�annotations)�Iterable)�Tag)�InvalidWheelFilename)�parse_wheel_filenamec �D � e Zd ZdZdd�Zd d�Zd
d�Z dd�Zdd�Zy)
�WheelzA wheel filec �� � || _ t |� }|\ | _ }| _ | _ t |� | _ y # t $ r}t |j d � d �d }~ww xY w)Nr )
�filenamer �_PackagingInvalidWheelFilenamer �args�name� build_tag� file_tags�str�version)�selfr �
wheel_info�e�_versions �I/opt/hc_python/lib/python3.12/site-packages/pip/_internal/models/wheel.py�__init__zWheel.__init__ sa � � ��
� <�-�h�7�J� ?I�;�� �8�T�^�T�^��8�}���� .� <�&�q�v�v�a�y�1�t�;�� <�s �; � A"�A�A"c �: � t d� | j D � � S )z4Return the wheel's tags as a sorted list of strings.c 3 �2 K � | ] }t |� �� � y �w�N)r )�.0�tags r � <genexpr>z0Wheel.get_formatted_file_tags.<locals>.<genexpr>"