관리-도구
편집 파일: candidate.cpython-311.pyc
� �Re� � �F � d dl mZ d dlmZ d dlmZ G d� de� � ZdS )� )�parse)�Link)�KeyBasedCompareMixinc �T � � e Zd ZdZg d�Zdedededdf� fd�Zdefd �Zdefd �Z � xZ S )�InstallationCandidatez4Represents a potential "candidate" for installation.)�name�version�linkr r r �returnNc � �� || _ t |� � | _ || _ t � � � | j | j | j ft �� � d S )N)�key�defining_class)r � parse_versionr r �super�__init__r )�selfr r r � __class__s ���/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/models/candidate.pyr zInstallationCandidate.__init__ s^ �� ��� �$�W�-�-����� � �������D�L�$�)�4�0� � � � � � � c �N � d� | j | j | j � � S )Nz)<InstallationCandidate({!r}, {!r}, {!r})>��formatr r r �r s r �__repr__zInstallationCandidate.__repr__ s) � �:�A�A��I��L��I� � � r c �N � d� | j | j | j � � S )Nz!{!r} candidate (version {} at {})r r s r �__str__zInstallationCandidate.__str__ s) � �2�9�9��I��L��I� � � r )�__name__� __module__�__qualname__�__doc__� __slots__�strr r r r � __classcell__)r s @r r r s� �� � � � � �>�>�+�+�+�I� �S� �3� �d� �t� � � � � � � �#� � � � � �� � � � � � � � r r N)�pip._vendor.packaging.versionr r �pip._internal.models.linkr �pip._internal.utils.modelsr r � r r �<module>r( sp �� @� @� @� @� @� @� *� *� *� *� *� *� ;� ;� ;� ;� ;� ;� � � � � �0� � � � � r