관리-도구
편집 파일: candidate.cpython-38.pyc
U ʗRe� � @ s8 d dl mZ d dlmZ d dlmZ G dd� de�ZdS )� )�parse)�Link)�KeyBasedCompareMixinc sR e Zd ZdZdddgZeeedd�� fdd�Zed �d d�Zed �dd �Z � Z S )�InstallationCandidatez4Represents a potential "candidate" for installation.�name�version�linkN)r r r �returnc s6 || _ t|�| _|| _t� j| j | j| jftd� d S )N)�key�defining_class)r � parse_versionr r �super�__init__r )�selfr r r �� __class__� ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/models/candidate.pyr s �zInstallationCandidate.__init__)r 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__� __slots__�strr r r r � __classcell__r r r r r s r N)Zpip._vendor.packaging.versionr r �pip._internal.models.linkr �pip._internal.utils.modelsr r r r r r �<module> s