. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.221 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/__pycache__/ |
Upload File : |
B
��Re� � @ s d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z ddl
mZ ddlm
Z
mZ dd lmZ dd
lmZ ddlmZ er�ddlmZ dd
lmZmZ ddl
mZ e
r�ddlmZ nddlmZ dZe�e�Z G dd� de�Z!dd� Z"dd� Z#dd� Z$dd� Z%dd� Z&dd� Z'd d!� Z(dS )"z0Support functions for working with wheel files.
� )�absolute_importN)�Parser)�ZipFile)�canonicalize_name)�DistInfoDistribution)�PY2�
ensure_str)�UnsupportedWheel)�DictMetadata)�MYPY_CHECK_RUNNING)�Message)�Dict�Tuple)�Distribution)�
BadZipfile)�
BadZipFile)� r c s, e Zd ZdZ� fdd�Z� fdd�Z� ZS )�
WheelMetadatazaMetadata provider that maps metadata decoding exceptions to our
internal exception type.
c s t t| ��|� || _d S )N)�superr �__init__�_wheel_name)�self�metadata�
wheel_name)� __class__� ��/builddir/build/BUILDROOT/alt-python37-pip-20.2.4-6.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/wheel.pyr ( s zWheelMetadata.__init__c
sJ yt t| ��|�S tk
rD } ztd�| j|���W d d }~X Y nX d S )Nz"Error decoding metadata for {}: {})r r �get_metadata�UnicodeDecodeErrorr �formatr )r �name�e)r r r r - s zWheelMetadata.get_metadata)�__name__�
__module__�__qualname__�__doc__r r �
__classcell__r r )r r r $ s r c s� t | |�\� }� fdd�| �� D �}i }xn|D ]f}t|�}|�dd�\}}yt| |�||<