�
�(�g�) � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZ d� Z ddgZ
dZdZded fgZ
e j d
d� Z ej d� ad
� Zd� Zdadd�Zd� Zd� Zdddddd d�d�Zdddddd d�d�Zd d�d�Zdd�Zy)� N)� resourcesc �� � t t d� ry t j t t dt j � k7 ry t d� t j
d� y )N�real_prefix�base_prefixa� ensurepip is disabled in Debian/Ubuntu for the system python.
Python modules for the system python are usually handled by dpkg and apt-get.
apt install python3-<module name>
Install the python3-pip package to use pip itself. Using pip together
with the system python might have unexpected results for any system installed
module, so use it on your own risk, or make sure to only use it in virtual
environments.
� )�hasattr�sys�prefix�getattr�print�exit� � �x/build/snapcraft-certbot-2c33630aaf29c47357e5a1683f659d3d/parts/certbot/install/usr/lib/python3.12/ensurepip/__init__.py�+_ensurepip_is_disabled_in_debian_for_systemr
sK � � �s�M�"�� �z�z�W�S�-����<�<��
� � � �H�H�Q�Kr �version� bootstrap)�pipz24.0r �py3�Package)r �
wheel_name�
wheel_path�
WHEEL_PKG_DIRc � � i } t j | � }t |� }|D ]� }|j d� s�t
D ] }|dz }|j
|� s� n �9|j |� j d� d }t j j | |� }t |d |� ||< |