8_ d Z ddlmZ ddlZddlZddlZddlZddlmZ ddl m Z mZ ddlm Z mZ ddlmZ ddlmZ dd lmZ dd lmZmZ ej Z ede Zerdnd ZdZ eddddd Zej ej ej ej! ej" fZ#ej ej ej fZ$ ee% Z&ddZ'd dZ(d!dZ) G 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)AnyNewType)ConfigurationError!ConfigurationFileCouldNotBeLoaded)appdirs)WINDOWS) getLogger) ensure_direnumKindzpip.inizpip.conf)versionhelpuserglobalsiteenvzenv-var)USERGLOBALSITEENVENV_VARnamestrreturnc | dd } | d } | S )zAMake a name consistent regardless of source (environment or file)_-z--)lowerreplaceremoveprefix)r s m/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pip/_internal/configuration.py_normalize_namer$ 5 s7 ::<<S))DT""DK list[str]c ` d| vrd| d}t | | dd S )N.zVKey does not contain dot separated section and key. Perhaps you wanted to use 'global.z ' instead? )r split)r error_messages r# _disassemble_keyr, <