관리-도구
편집 파일: check.cpython-310.pyc
o ƚ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 ZdZdZdedee defdd�Z dS ) �CheckCommandz7Verify installed packages have compatible dependencies.z %prog [options]�options�args�returnc C s� t � \}}t|�\}}|D ]}|| j}|| D ]} td||| d � qq |D ]}|| j}|| D ]\} }}td|||| |� q2q'|sH|sH|rJtS td� tS )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-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_internal/commands/check.py�run s8 �� �� 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