관리-도구
편집 파일: requirements.cpython-38.pyc
U &?�f� � @ s� d dl mZmZ d dlmZ d dlmZmZ d dlm Z d dl mZ ddlm Z mZmZmZ G dd � d e�ZG d d� de�ZG dd � d e�ZG dd� de�ZG dd� de�ZdS )� )�Any�Optional)�SpecifierSet)�NormalizedName�canonicalize_name)�install_req_drop_extras)�InstallRequirement� )� Candidate�CandidateLookup�Requirement�format_namec @ s� e Zd Zedd�dd�Zed�dd�Zed�dd �Zed�d d�Z e ed�d d�Ze ed�dd��Ze ed�dd��Zed�dd�Zed�dd�Zeed�dd�ZdS )�ExplicitRequirementN�� candidate�returnc C s || _ d S �N�r ��selfr � r �^/opt/hc_python/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/requirements.py�__init__ s zExplicitRequirement.__init__�r c C s t | j�S r )�strr �r r r r �__str__ s zExplicitRequirement.__str__c C s | j j� d| j�d�S �N�(�))� __class__�__name__r r r r r �__repr__ s zExplicitRequirement.__repr__c C s t | j�S r )�hashr r r r r �__hash__ s zExplicitRequirement.__hash__��otherr c C s t |t�sdS | j|jkS �NF)� isinstancer r �r r&