ó `8(Zc@seddlZddlmZddlmZddlmZejeƒZ defd„ƒYZ dS(i’’’’N(tCommand(tcheck_requirements(tget_installed_distributionst CheckCommandcBs)eZdZdZdZdZd„ZRS(s7Verify installed packages have compatible dependencies.tchecks %prog [options]c Csötdtddƒ}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( Nt local_onlytskips%s==%ss*%s %s requires %s, which is not installed.s-%s %s has requirement %s, but you have %s %s.isNo broken requirements found.((RtFalseRt project_nametversiontgettloggertinfo( tselftoptionstargstdiststmissing_reqs_dicttincompatible_reqs_dicttdisttkeyt requirementtactual((s//tmp/pip-build-0nEYGB/pip/pip/commands/check.pytruns   (t__name__t __module__t__doc__tnametusagetsummaryR(((s//tmp/pip-build-0nEYGB/pip/pip/commands/check.pyR s ( tloggingtpip.basecommandRtpip.operations.checkRt pip.utilsRt getLoggerRR R(((s//tmp/pip-build-0nEYGB/pip/pip/commands/check.pyts