File: C:/Users/fred/anaconda3/Tools/scripts/__pycache__/checkpip.cpython-312.pyc
�
�X�f � �H � d Z ddlZddlZddlZddlZd� Zedk( r e� yy)za
Checks that the version of the projects bundled in ensurepip are the latest
versions available.
� Nc � � d} t j D ]� \ }}t j t j
j
dj |� d�� j � j d� � }|d d }||k7 s�td} t dj |||� � �� | rt j d � y y )
NFzhttps://pypi.org/pypi/{}/jsonT)� cadefault�utf8�info�versionz<The latest version of {} on PyPI is {}, but ensurepip has {}� )
� ensurepip� _PROJECTS�json�loads�urllib�request�urlopen�format�read�decode�print�sys�exit)� outofdate�projectr �data�upstream_versions �Tools\scripts\checkpip.py�mainr s� � ��I�%�/�/�����z�z�&�.�.�0�0�+�2�2�7�;�� 1�
� �$�&�����!�� ��<� �2���&�&��I�� �!�6�'�+;�W�E�
G� 0� ������ � �__main__)�__doc__r r �urllib.requestr
r r �__name__� r r �<module>r"