| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.7/site-packages/pip/_internal/__pycache__/ |
Upload File : |
B
�N�a�1 � @ s4 d Z ddlZddlmZmZmZ ddlmZmZm Z m
Z
mZ ddlm
Z
ddlmZmZ er�ddlmZ ddlmZ dd lmZ G d
d� de�ZG dd
� d
e�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Z G dd� de�Z!G dd� de�Z"G d d!� d!e�Z#G d"d#� d#e�Z$G d$d%� d%e�Z%G d&d'� d'e�Z&G d(d)� d)e�Z'G d*d+� d+e�Z(G d,d-� d-e�Z)G d.d/� d/e�Z*G d0d1� d1e�Z+G d2d3� d3e+�Z,G d4d5� d5e+�Z-G d6d7� d7e+�Z.G d8d9� d9e+�Z/G d:d;� d;e+�Z0G d<d=� d=e�Z1G d>d?� d?e�Z2dS )@z"Exceptions used throughout package� N)�chain�groupby�repeat)�
TYPE_CHECKING�Dict�List�Optional�Union)�Distribution)�Request�Response)�_Hash)�BaseDistribution)�InstallRequirementc @ s e Zd ZdZdS )�PipErrorzBase pip exceptionN)�__name__�
__module__�__qualname__�__doc__� r r �</usr/lib/python3.7/site-packages/pip/_internal/exceptions.pyr s r c @ s e Zd ZdZdS )�ConfigurationErrorz"General exception in configurationN)r r r r r r r r r s r c @ s e Zd ZdZdS )�InstallationErrorz%General exception during installationN)r r r r r r r r r s r c @ s e Zd ZdZdS )�UninstallationErrorz'General exception during uninstallationN)r r r r r r r r r s r c @ s8 e Zd ZdZeedf edd�dd�Zed�dd �ZdS )
�NoneMetadataErrora
Raised when accessing "METADATA" or "PKG-INFO" metadata for a
pip._vendor.pkg_resources.Distribution object and
`dist.has_metadata('METADATA')` returns True but
`dist.get_metadata('METADATA')` returns None (and similarly for
"PKG-INFO").
r N)�dist�
metadata_name�returnc C s || _ || _dS )z�
:param dist: A Distribution object.
:param metadata_name: The name of the metadata being accessed
(can be "METADATA" or "PKG-INFO").
N)r r )�selfr r r r r �__init__* s
zNoneMetadataError.__init__)r c C s d� | j| j�S )Nz+None {} metadata found for distribution: {})�formatr r )r r r r �__str__7 s zNoneMetadataError.__str__) r r r r r r
�strr r! r r r r r ! s
r c @ s e Zd ZdZed�dd�ZdS )�UserInstallationInvalidzBA --user install is requested on an environment without user site.)r c C s dS )Nz$User base directory is not specifiedr )r r r r r! C s zUserInstallationInvalid.__str__N)r r r r r"