관리-도구
편집 파일: req_command.cpython-310.pyc
o ƚRe�B � @ s� d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z m Z mZmZ ddl mZ ddlmZ ddlmZ dd lmZ dd lmZmZ ddlmZ ddlmZ dd lmZ ddlmZ ddl m!Z! ddl"m#Z# ddl$m%Z%m&Z&m'Z'm(Z( ddl)m*Z* ddl+m,Z, ddl-m.Z. ddl/m0Z0 ddl1m2Z2 ddl3m4Z4 ddl5m6Z6m7Z7m8Z8 ddl9m:Z: e�;e<�Z=G dd� de�Z>G dd� dee>�Z?e8j@e8jAe8jBgZCd&dd �ZDd!e de fd"d#�ZEG d$d%� d%e?�ZFdS )'a Contains the Command base classes that depend on PipSession. The classes in this module are in a separate module so the commands not needing download / PackageFinder capability don't unnecessarily import the PackageFinder machinery and all its vendored dependencies, etc. � N)�partial)�Values)�Any�List�Optional�Tuple)� WheelCache)� cmdoptions)�Command)�CommandContextMixIn)�CommandError�PreviousBuildDirError)� LinkCollector)� PackageFinder)�SelectionPreferences)�TargetPython)� PipSession)�RequirementPreparer)�install_req_from_editable�install_req_from_line�#install_req_from_parsed_requirement�install_req_from_req_string)�parse_requirements)�InstallRequirement)�RequirementTracker)�BaseResolver)�pip_self_version_check)� deprecated)� TempDirectory�TempDirectoryTypeRegistry� tempdir_kinds)�running_under_virtualenvc sz e Zd ZdZd� fdd�Zededeee fdd��Z dedefd d �Z ddedee dee defd d�Z� ZS )�SessionCommandMixinzE A class mixin for command classes needing _build_session(). �returnNc s t � �� d | _d S �N)�super�__init__�_session)�self�� __class__� ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_internal/cli/req_command.pyr&