관리-도구
편집 파일: requirements.cpython-311.pyc
� �ReO � � � d dl mZ d dlmZmZ d dlmZ ddlmZm Z m Z mZ G d� de � � Z G d� d e � � Z G d � de � � Z G d� d e � � ZdS )� )�SpecifierSet)�NormalizedName�canonicalize_name)�InstallRequirement� )� Candidate�CandidateLookup�Requirement�format_namec � � e Zd Zdeddfd�Zdefd�Zdefd�Zede fd�� � Z edefd�� � Zdefd �Zde fd �Zdedefd�ZdS )�ExplicitRequirement� candidate�returnNc � � || _ d S �N�r ��selfr s ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/requirements.py�__init__zExplicitRequirement.__init__ s � �"����� c �* � t | j � � S r )�strr �r s r �__str__zExplicitRequirement.__str__ s � ��4�>�"�"�"r c �N � d� | j j | j �� � S )Nz{class_name}({candidate!r}))� class_namer )�format� __class__�__name__r r s r �__repr__zExplicitRequirement.__repr__ s, � �,�3�3��~�.��n� 4� � � r c � � | j j S r )r �project_namer s r r# z ExplicitRequirement.project_name s � � �~�*�*r c � � | j j S r )r �namer s r r% zExplicitRequirement.name s � � �~�"�"r c �4 � | j � � � S r )r �format_for_errorr s r r'