관리-도구
편집 파일: check.cpython-36.pyc
3 �Re� � @ s� d dl Z d dlmZ d dlmZmZ d dlmZmZ d dl m Z d dlmZ e j e�Zervd dlmZmZ d dlmZ G d d � d e�ZdS )� N)�Command)�ERROR�SUCCESS)�check_package_set�!create_package_set_from_installed)�write_output)�MYPY_CHECK_RUNNING)�List�Any)�Valuesc @ s e Zd ZdZdZdd� ZdS )�CheckCommandz7Verify installed packages have compatible dependencies.z %prog [options]c C s� t � \}}t|�\}}x:|D ]2}|| j}x"|| D ]} td||| d � q4W qW x@|D ]8}|| j}x(|| D ]\} }}td|||| |� qpW qXW |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 ) �self�options�args�package_setZ parsing_probs�missing�conflicting�project_namer � dependency�dep_name�dep_version�req� r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/check.py�run s$ zCheckCommand.runN)�__name__� __module__�__qualname__�__doc__�usager r r r r r s r )�logging�pip._internal.cli.base_commandr �pip._internal.cli.status_codesr r �pip._internal.operations.checkr r �pip._internal.utils.miscr �pip._internal.utils.typingr � getLoggerr �logger�typingr r �optparser r r r r r �<module> s