관리-도구
편집 파일: configuration.cpython-36.pyc
3 �Re#7 � @ s d Z ddlZddlZddlZddlZddlmZ ddlmZm Z ddl mZ ddlm Z mZ ddlmZmZ ddlmZ er�dd lmZmZmZmZmZmZmZ ejZed e�Zeje �Z!dd� Z"d d� Z#edddddd�Z$e r�dndZ%dd� Z&G dd� de'�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)�configparser)�ConfigurationError�!ConfigurationFileCouldNotBeLoaded)�appdirs)�WINDOWS� expanduser)� ensure_dir�enum)�MYPY_CHECK_RUNNING)�Any�Dict�Iterable�List�NewType�Optional�Tuple�Kindc C s* | j � jdd�} | jd�r&| dd� } | S )zFMake a name consistent regardless of source (environment or file) �_�-z--� N)�lower�replace� startswith)�name� r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/configuration.py�_normalize_name* s r c C s&