| Server IP : 104.21.13.164 / Your IP : 216.73.216.44 Web Server : Apache System : Linux gator4057.hostgator.com 5.14.0-687.17.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun 22 07:21:26 EDT 2026 x86_64 User : badawi ( 1130) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/pip/_internal/__pycache__/ |
Upload File : |
a
�lja3 � @ s> d Z ddlZddlZddlZddlZddlmZmZmZm Z m
Z
mZmZ ddl
mZmZ ddlmZ ddlmZ ddlmZ ddlmZmZ ejZe
d e�Zer�d
ndZdZed
ddddd�Zejej ej!ej"ej#fZ$ej ejej!fZ%ee&�Z'eed�dd�Z(ee e d�dd�Z)eee e f d�dd�Z*G dd� d�Z+dS )a Configuration management setup
Some terminology:
- name
As written in config files.
- value
Value associated with a name
- key
Name combined with it's section (section.name)
- variant
A single word describing where the configuration key-value pair came from
� N)�Any�Dict�Iterable�List�NewType�Optional�Tuple)�ConfigurationError�!ConfigurationFileCouldNotBeLoaded)�appdirs)�WINDOWS)� getLogger)�
ensure_dir�enum�Kindzpip.inizpip.conf)�version�help�user�globalZsite�envzenv-var)�USER�GLOBAL�SITE�ENV�ENV_VAR)�name�returnc C s* | � � �dd�} | �d�r&| dd� } | S )zAMake a name consistent regardless of source (environment or file)�_�-z--� N)�lower�replace�
startswith)r � r# �?/usr/lib/python3.9/site-packages/pip/_internal/configuration.py�_normalize_name2 s
r% c C s&