관리-도구
편집 파일: configuration.cpython-39.pyc
a ��Rea3 � @ 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�global�site�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$ ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/configuration.py�_normalize_name2 s r&