관리-도구
편집 파일: check.cpython-39.pyc
a ��Re� � @ sv d dl Z d dlmZ d dlmZ d dlmZ d dlmZm Z d dl mZmZ d dl mZ e �e�ZG dd � d e�ZdS ) � N)�Values)�List)�Command)�ERROR�SUCCESS)�check_package_set�!create_package_set_from_installed)�write_outputc @ s* e Zd ZdZdZeee ed�dd�Z dS )�CheckCommandz7Verify installed packages have compatible dependencies.z %prog [options])�options�args�returnc C s� t � \}}t|�\}}|D ].}|| j}|| D ]} td||| d � q0q|D ]4}|| j}|| D ]\} }}td|||| |� qdqN|s�|s�|r�tS td� tS d S )Nz*%s %s requires %s, which is not installed.r z-%s %s has requirement %s, but you have %s %s.zNo broken requirements found.)r r �versionr r r ) �selfr r �package_setZ parsing_probs�missing�conflicting�project_namer � dependency�dep_name�dep_version�req� r ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/commands/check.py�run s4 � � zCheckCommand.runN) �__name__� __module__�__qualname__�__doc__�usager r �str�intr r r r r r s r )�logging�optparser �typingr �pip._internal.cli.base_commandr �pip._internal.cli.status_codesr r �pip._internal.operations.checkr r �pip._internal.utils.miscr � getLoggerr �loggerr r r r r �<module> s