3

Q'ícfã@sJddlZddlmZddlmZddlmZejeƒZ	Gdd„deƒZ
dS)éN)ÚCommand)Úcheck_requirements)Úget_installed_distributionsc@s$eZdZdZdZdZdZdd„ZdS)ÚCheckCommandz7Verify installed packages have compatible dependencies.Úcheckz
      %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)Ú
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.)rrÚproject_nameÚversionÚgetÚloggerÚinfo)
ÚselfÚoptionsÚargsÚdistsÚmissing_reqs_dictÚincompatible_reqs_dictÚdistÚkeyÚrequirementÚactual©rú1/tmp/pip-build-l_bcah40/pip/pip/commands/check.pyÚruns 

zCheckCommand.runN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚusageÚsummaryrrrrrrs
r)ÚloggingÚpip.basecommandrÚpip.operations.checkrÚ	pip.utilsrÚ	getLoggerrr
rrrrrÚ<module>s