관리-도구
편집 파일: __init__.cpython-312.pyc
� G��e� � �H � d dl Z d dlZd dlZd dlZd dlmZmZmZmZm Z d dl mZ ddlm Z mZmZmZmZ er d dlmZmZ neZg d�Zdefd �Z G d � de� Z ej2 d�� defd �� Zdefd�Zdeee defd�Zdede fd�Zdedede fd�Zde dedede fd�Z!y)� N)� TYPE_CHECKING�List�Optional�Type�cast)� strtobool� )�BaseDistribution�BaseEnvironment�FilesystemWheel�MemoryWheel�Wheel)�Literal�Protocol) r r r r r �get_default_environment�get_environment�get_wheel_distribution�select_backend�returnc �$ � t j t t � 5 t t t j d � � cddd� S # 1 sw Y nxY wt j dk ryddl } t t | j dd� � S )a� Whether to use the ``importlib.metadata`` or ``pkg_resources`` backend. By default, pip uses ``importlib.metadata`` on Python 3.11+, and ``pkg_resourcess`` otherwise. This can be overridden by a couple of ways: * If environment variable ``_PIP_USE_IMPORTLIB_METADATA`` is set, it dictates whether ``importlib.metadata`` is used, regardless of Python version. * On Python 3.11+, Python distributors can patch ``importlib.metadata`` to add a global constant ``_PIP_USE_IMPORTLIB_METADATA = False``. This makes pip use ``pkg_resources`` (unless the user set the aforementioned environment variable to *True*). �_PIP_USE_IMPORTLIB_METADATAN)� � Fr T) � contextlib�suppress�KeyError� ValueError�boolr �os�environ�sys�version_info�importlib.metadata�getattr�metadata�� importlibs ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_internal/metadata/__init__.py�_should_use_importlib_metadatar) ss � � � � �X�z� 2� J��I�b�j�j�)F�G�H�I�J� J� J�� ���'�!����� �*�*�,I�4�P�Q�Qs �%A�Ac �8 � e Zd ZU ded<