Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-39.pyc
Ðазад
a "�h�2 � @ sj d Z ddlZddlmZ ddlmZ ddlmZmZm Z m Z ddlmZ ddl mZ ddlmZ dd lmZ dd lmZmZ ddlmZ ddlmZ dd lmZ ddlmZ ddlmZ ddlm Z ddl!m"Z" ddl#m$Z$m%Z%m&Z&m'Z' ddl(m)Z) ddl*m+Z+ ddl,m-Z- ddl.m/Z/ ddl0m1Z1m2Z2m3Z3 e�4e5�Z6e3j7e3j8e3j9gZ:eed�dd�Z;G dd� de�Z<dS )z�Contains the RequirementCommand base class. This class is in a separate module so the commands that do not always need PackageFinder capability don't unnecessarily import the PackageFinder machinery and all its vendored dependencies, etc. � N)�partial)�Values)�Any�List�Optional�Tuple)� WheelCache)� cmdoptions)�IndexGroupCommand)�SessionCommandMixin)�CommandError�PreviousBuildDirError)� LinkCollector)� PackageFinder)�SelectionPreferences)�TargetPython)� PipSession)�BuildTracker)�RequirementPreparer)�install_req_from_editable�install_req_from_line�#install_req_from_parsed_requirement�install_req_from_req_string)�parse_dependency_groups)�parse_requirements)�InstallRequirement)�BaseResolver)� TempDirectory�TempDirectoryTypeRegistry� tempdir_kinds)�func�returnc s6 t dd�dd�� tttt tt d�� �fdd�}|S )zNDecorator for common logic related to managing temporary directories. N)�registryr! c S s t D ]}| �|d� qd S )NF)�KEEPABLE_TEMPDIR_TYPES� set_delete)r"