Spade
Mini Shell
| Directory:~$ /proc/self/root/usr/lib/python3.6/site-packages/pip/commands/__pycache__/ |
| [Home] [System Details] [Kill Me] |
3
���^f�@sJddlZddlmZddlmZddlmZeje�Z Gdd�de�Z
dS)�N)�Command)�check_requirements)�get_installed_distributionsc@s$eZdZdZdZdZdZdd�ZdS)�CheckCommandz7Verify
installed packages have compatible dependencies.Zcheckz
%prog [options]c
Cs�tdfd�}t|�\}}x~|D]v}d|j|jf}x*|j|g�D]}tjd|j|j|j�q@Wx4|j|g�D]$\}} tjd|j|j|| j| j�qlWqW|s�|r�dStjd�dS)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.)rrZproject_name�version�get�logger�info)
�selfZoptions�argsZdistsZmissing_reqs_dictZincompatible_reqs_dictZdist�keyZrequirement�actual�r�/usr/lib/python3.6/check.py�runs
zCheckCommand.runN)�__name__�
__module__�__qualname__�__doc__�nameZusageZsummaryrrrrrrs
r)ZloggingZpip.basecommandrZpip.operations.checkrZ pip.utilsrZ getLoggerrr
rrrrr�<module>s