ó fc@sYdZddlZddlZddlZddlZd„ZedkrUeƒndS(sa Checks that the version of the projects bundled in ensurepip are the latest versions available. iÿÿÿÿNcCs¡t}x~tjD]s\}}tjtjdj|ƒƒjƒj dƒƒ}|dd}||krt }dj|||ƒGHqqW|rt j dƒndS(Ns$https://pypi.python.org/pypi/{}/jsontutf8tinfotversions<The latest version of {} on PyPI is {}, but ensurepip has {}i( tFalset ensurepipt _PROJECTStjsontloadsturllib2turlopentformattreadtdecodetTruetsystexit(t outofdatetprojectRtdatatupstream_version((s./usr/lib64/python2.7/Tools/scripts/checkpip.pytmain s   t__main__(t__doc__RRRRRt__name__(((s./usr/lib64/python2.7/Tools/scripts/checkpip.pyts