관리-도구
편집 파일: check.cpython-311.pyc
� �Dg� � � � d dl Z d dlmZ d dlmZ d dlmZ d dlmZm Z d dl mZ d dlm Z mZmZ d dlmZ d d lmZ e j e� � Z G d � de� � ZdS )� N)�Values)�List)�Command)�ERROR�SUCCESS)�get_default_environment)�check_package_set�check_unsupported�!create_package_set_from_installed)� get_supported)�write_outputc �: � e Zd ZdZdZdZdedee de fd�Z dS ) �CheckCommandz7Verify installed packages have compatible dependencies.Tz %prog [options]�options�args�returnc �4 � t � � \ }}t |� � \ }}t t t � � � � � t � � � � � � }|D ]2}|| j } || D ]} t d|| | d � � ��3|D ]2}|| j } || D ]\ }}} t d|| | ||� � ��3|D ]}t d|j |j � � �|s|s|s|rt S t d� � t S )Nz*%s %s requires %s, which is not installed.r z-%s %s has requirement %s, but you have %s %s.z'%s %s is not supported on this platformzNo broken requirements found.)r r �listr r �iter_installed_distributionsr �versionr �raw_namer r )�selfr r �package_set� parsing_probs�missing�conflicting�unsupported�project_namer � dependency�dep_name�dep_version�req�packages �|/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/commands/check.py�runzCheckCommand.run s� � �%F�%H�%H�"��]�0��=�=������'�)�)�F�F�H�H���� � � � �� $� � �L�!�,�/�7�G�%�l�3� � � ��@� ���q�M� � � � � � (� � �L�!�,�/�7�G�.9�,�.G� � �*��+�s��C� ����� � � � � � #� � �G��9�� ��� � � � � � �k� �]� �k� ��L��8�9�9�9��N� N)�__name__� __module__�__qualname__�__doc__�ignore_require_venv�usager r �str�intr% � r&