관리-도구
편집 파일: configuration.cpython-310.pyc
o ƚRea3 � @ sB d Z ddlZddlZddlZddlZddlmZmZmZm Z m Z mZmZ ddl mZmZ ddlmZ ddlmZ ddlmZ ddlmZmZ ejZe d e�ZerRd ndZdZed ddddd�Zejej ej!ej"ej#fZ$ej ejej!fZ%ee&�Z'dedefdd�Z(dede e fdd�Z)deee e f fdd�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-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_internal/configuration.py�_normalize_name2 s r&