관리-도구
편집 파일: req_command.cpython-36.pyc
3 �Re; � @ s� d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m Z ddlmZm Z ddlmZ dd lmZ dd lmZ ddlmZ ddlmZ dd lmZ ddlmZmZmZmZ ddlm Z ddl!m"Z" ddl#m$Z$ ddl%m&Z& e&�rZddl'm(Z( ddl)m*Z*m+Z+m,Z,m-Z- ddl.m/Z/ ddl0m1Z1 ddl2m3Z3 ddl4m5Z5 ddl6m7Z7 ddl#m8Z8m9Z9 ej:e;�Z<G dd� de �Z=G dd� dee=�Z>e$j?e$j@e$jAgZBdd � ZCG d!d"� d"e>�ZDdS )#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)� cmdoptions)�Command)�CommandContextMixIn)�CommandError�PreviousBuildDirError)� LinkCollector)� PackageFinder)�SelectionPreferences)� Downloader)� PipSession)�RequirementPreparer)�install_req_from_editable�install_req_from_line�#install_req_from_parsed_requirement�install_req_from_req_string)�parse_requirements)�pip_self_version_check)� tempdir_kinds)�MYPY_CHECK_RUNNING)�Values)�Any�List�Optional�Tuple)� WheelCache)�TargetPython)�InstallRequirement)�RequirementTracker)�BaseResolver)� TempDirectory�TempDirectoryTypeRegistryc s>