| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pip/_internal/models/__pycache__/ |
Upload File : |
�
�/�c � �X � d Z ddlZddlmZmZmZ ddlmZ ddlm Z G d� d� � Z
dS )z`Represents a wheel file and provides access to the various parts of the
name that have meaning.
� N)�Dict�Iterable�List)�Tag)�InvalidWheelFilenamec �� � e Zd ZdZ ej dej � � Zdeddfd�Z de
e fd�Zde
e de
fd �Zde
e d
eee
f de
fd�Zdee defd�ZdS )
�WheelzA wheel filez�^(?P<namever>(?P<name>[^\s-]+?)-(?P<ver>[^\s-]*?))
((-(?P<build>\d[^-]*?))?-(?P<pyver>[^\s-]+?)-(?P<abi>[^\s-]+?)-(?P<plat>[^\s-]+?)
\.whl|\.dist-info)$�filename�returnNc � � � � j � |� � }|st |� d�� � �|� _ |� d� � � dd� � � _ |� d� � � dd� � � _ |� d� � � _ |� d� � � d� � � _
|� d � � � d� � � _ |� d
� � � d� � � _ � fd�� j
D � � � _
dS )
zX
:raises InvalidWheelFilename: when the filename is invalid for a wheel
z is not a valid wheel filename.�name�_�-�ver�build�pyver�.�abi�platc �Z �� h | ]'}�j D ]}�j D ]}t |||� � ����(S � )�abis�platsr )�.0�x�y�z�selfs ��</usr/lib/python3/dist-packages/pip/_internal/models/wheel.py� <setcomp>z!Wheel.__init__.<locals>.<setcomp>( s\ �� �
�
�
��4�9�
�
�67�d�j�
�
�IJ�C��1�a�L�L�
�
�
�
�
� N)�
wheel_file_re�matchr r
�group�replacer
�version� build_tag�split�
pyversionsr r � file_tags)r r
�
wheel_infos ` r �__init__zWheel.__init__ s< �� � �'�-�-�h�7�7�
�� U�&�(�'S�'S�'S�T�T�T� ��
��$�$�V�,�,�4�4�S�#�>�>�� � "�'�'��.�.�6�6�s�C�@�@���#�)�)�'�2�2���$�*�*�7�3�3�9�9�#�>�>����$�$�U�+�+�1�1�#�6�6�� ��%�%�f�-�-�3�3�C�8�8��
�
�
�
�
�"&�/�
�
�
����r! c �>