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)