관리-도구
편집 파일: req_set.cpython-39.pyc
a ��Re� � @ s� d dl Z d dlmZ d dlmZmZmZmZmZ d dl m Z d dlmZ d dl mZ d dlmZ d dlmZ e �e�ZG d d � d �ZdS )� N)�OrderedDict)�Dict�Iterable�List�Optional�Tuple)�canonicalize_name)�InstallationError)�Wheel)�InstallRequirement)�compatibility_tagsc @ s� e Zd Zdedd�dd�Zed�dd�Zed�d d �Zedd�dd �Z edd�dd�Z deee eee e ee ee f d�dd�Zeed�dd�Zeed�dd�Zeee d�dd��ZdS )�RequirementSetTN)�check_supported_wheels�returnc C s t � | _|| _g | _dS )zCreate a RequirementSet.N)r �requirementsr �unnamed_requirements)�selfr � r ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/req/req_set.py�__init__ s zRequirementSet.__init__)r c C s4 t dd� | j�� D �dd� d�}d�dd� |D ��S )Nc s s | ]}|j s|V qd S �N)� comes_from��.0�reqr r r � <genexpr> � z)RequirementSet.__str__.<locals>.<genexpr>c S s t | jp d�S �N� �r �name�r r r r �<lambda> r z(RequirementSet.__str__.<locals>.<lambda>��key� c s s | ]}t |j�V qd S r ��strr r r r r r r )�sortedr �values�join)r r r r r �__str__ s �zRequirementSet.__str__c C sB t | j�� dd� d�}d}|j| jjt|�d�dd� |D ��d�S ) Nc S s t | jp d�S r r r! r r r r"