관리-도구
편집 파일: candidate.cpython-38.opt-1.pyc
U ��.e� � @ s` d dl mZ d dlmZ d dlmZ erLd dl mZ d dlm Z d dl mZ G dd� de�Zd S ) � )�parse)�KeyBasedCompareMixin)�MYPY_CHECK_RUNNING)�_BaseVersion)�Link)�Anyc s0 e Zd ZdZ� fdd�Zdd� Zdd� Z� ZS )�InstallationCandidatez9Represents a potential "candidate" for installation. c s: || _ t|�| _|| _tt| �j| j | j| jftd� d S )N)�keyZdefining_class)�project� parse_version�version�link�superr �__init__)�selfr r r �� __class__� �B/usr/lib/python3.8/site-packages/pip/_internal/models/candidate.pyr s �zInstallationCandidate.__init__c C s d� | j| j| j�S )Nz)<InstallationCandidate({!r}, {!r}, {!r})>��formatr r r �r r r r �__repr__ s �zInstallationCandidate.__repr__c C s d� | j| j| j�S )Nz!{!r} candidate (version {} at {})r r r r r �__str__$ s �zInstallationCandidate.__str__)�__name__� __module__�__qualname__�__doc__r r r � __classcell__r r r r r s r N) Zpip._vendor.packaging.versionr r Zpip._internal.utils.modelsr Zpip._internal.utils.typingr r Zpip._internal.models.linkr �typingr r r r r r �<module> s