관리-도구
편집 파일: __init__.cpython-36.pyc
3 �Re= � @ s� d dl mZ d dlZd dlZd dlmZ d dlmZ ddlm Z ddl mZ ddlm Z erxd d lmZmZmZmZmZ d ddd gZeje�ZG dd� de�Zdd� Zdd � ZdS )� )�absolute_importN)� indent_log)�MYPY_CHECK_RUNNING� )�parse_requirements)�InstallRequirement)�RequirementSet)�Iterator�List�Optional�Sequence�Tupler r r �install_given_reqsc @ s e Zd Zdd� Zdd� ZdS )�InstallationResultc C s || _ d S )N)�name)�selfr � r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/__init__.py�__init__ s zInstallationResult.__init__c C s dj | j�S )NzInstallationResult(name={!r}))�formatr )r r r r �__repr__ s zInstallationResult.__repr__N)�__name__� __module__�__qualname__r r r r r r r s r c c s2 x,| D ]$}|j stdj|���|j |fV qW d S )Nz'invalid to-be-installed requirement: {})r �AssertionErrorr )�requirements�reqr r r �_validate_requirements"