관리-도구
편집 파일: check.cpython-36.opt-1.pyc
3 �Pff � @ sJ d dl Z d dlmZ d dlmZ d dlmZ e je�Z G dd� de�Z dS )� N)�Command)�check_requirements)�get_installed_distributionsc @ s$ e Zd ZdZdZdZdZdd� ZdS )�CheckCommandz7Verify installed packages have compatible dependencies.Zcheckz %prog [options]c C s� t df d�}t|�\}}x~|D ]v}d|j|jf }x*|j|g �D ]}tjd|j|j|j� q@W x4|j|g �D ]$\}} tjd|j|j|| j| j� qlW qW |s�|r�dS tjd� d S )NF)Z local_only�skipz%s==%sz*%s %s requires %s, which is not installed.z-%s %s has requirement %s, but you have %s %s.� zNo broken requirements found.)r r Zproject_name�version�get�logger�info) �selfZoptions�argsZdistsZmissing_reqs_dictZincompatible_reqs_dictZdist�keyZrequirement�actual� r �/usr/lib/python3.6/check.py�run s zCheckCommand.runN)�__name__� __module__�__qualname__�__doc__�nameZusageZsummaryr r r r r r s r )ZloggingZpip.basecommandr Zpip.operations.checkr Z pip.utilsr Z getLoggerr r r r r r r �<module> s