File: //opt/alt/python35/lib/python3.5/site-packages/pip/_internal/models/candidate.pyo
�
+�Rec           @   ss   d  d l  m Z d  d l m Z d  d l m Z e rY d  d l  m Z d  d l m	 Z	 n  d e f d �  �  YZ
 d S(	   i����(   t   parse(   t   KeyBasedCompareMixin(   t   MYPY_CHECK_RUNNING(   t   _BaseVersion(   t   Linkt   InstallationCandidatec           B   s8   e  Z d  Z d d d g Z d �  Z d �  Z d �  Z RS(   s9   Represents a potential "candidate" for installation.
    t   namet   versiont   linkc         C   sV   | |  _  t | � |  _ | |  _ t t |  � j d |  j  |  j |  j f d t � d  S(   Nt   keyt   defining_class(   R   t
   parse_versionR   R   t   superR   t   __init__(   t   selfR   R   R   (    (    sO   /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/models/candidate.pyR
      s    		c         C   s   d j  |  j |  j |  j � S(   Ns)   <InstallationCandidate({!r}, {!r}, {!r})>(   t   formatR   R   R   (   R   (    (    sO   /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/models/candidate.pyt   __repr__   s    c         C   s   d j  |  j |  j |  j � S(   Ns!   {!r} candidate (version {} at {})(   R   R   R   R   (   R   (    (    sO   /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/models/candidate.pyt   __str__"