관리-도구
편집 파일: check.cpython-38.opt-1.pyc
U ��.e� � @ sN d dl Z d dlmZ d dlmZmZ d dlmZ e �e �Z G dd� de�ZdS )� N)�Command)�check_package_set�!create_package_set_from_installed)�write_outputc @ s e Zd ZdZdZdd� ZdS )�CheckCommandz7Verify installed packages have compatible dependencies.z %prog [options]c C s� t � \}}t|�\}}|D ].}|| j}|| D ]} td||| d � q0q|D ]4}|| j}|| D ]\} }}td|||| |� qdqN|s�|s�|r�dS td� 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 ) �selfZoptions�argsZpackage_setZ parsing_probsZmissingZconflictingZproject_namer Z dependencyZdep_nameZdep_versionZreq� r �@/usr/lib/python3.8/site-packages/pip/_internal/commands/check.py�run s2 � �zCheckCommand.runN)�__name__� __module__�__qualname__�__doc__Zusager r r r r r s r )ZloggingZpip._internal.cli.base_commandr Zpip._internal.operations.checkr r Zpip._internal.utils.miscr Z getLoggerr Zloggerr r r r r �<module> s