ôYfã@seddlZddlmZddlmZddlmZejeƒZ Gdd„deƒZ dS)éN)ÚCommand)Úcheck_requirements)Úget_installed_distributionsc@s4eZdZdZdZdZdZdd„ZdS)Ú CheckCommandz7Verify installed packages have compatible dependencies.Úcheckz %prog [options]c Csötdddfƒ}t|ƒ\}}x«|D]£}d|j|jf}x9|j|gƒD]%}tjd|j|j|jƒq]WxH|j|gƒD]4\}} tjd|j|j|| j| jƒq™Wq.W|sá|rådStjdƒdS) NÚ local_onlyFÚ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-3puug3g5/pip/pip/commands/check.pyÚruns   zCheckCommand.runN)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚnameÚusageÚsummaryrrrrrr s r) ÚloggingÚpip.basecommandrÚpip.operations.checkrÚ pip.utilsrÚ getLoggerrr rrrrrÚs