/usr/local/lib/python3.9/site-packages/pip/_internal/__pycache__
a ���h�8 � @ s2 d Z ddlmZ ddlZddlZddlZddlZddlmZ ddl m Z mZ ddlm Z mZ ddlmZ ddlmZ dd lmZ dd lmZmZ ejZede�Zer�dnd ZdZedddddd�Zejejej ej!ej"fZ#ejejej fZ$ee%�Z&ddd�dd�Z'ddd�dd�Z(dd�dd�Z)G d d!� 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 � )�annotationsN)�Iterable)�Any�NewType)�ConfigurationError�!ConfigurationFileCouldNotBeLoaded)�appdirs)�WINDOWS)� getLogger)� ensure_dir�enum�Kindzpip.inizpip.conf)�version�help�user�global�site�envzenv-var)�USER�GLOBAL�SITE�ENV�ENV_VAR�str)�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"