HEX
Server: LiteSpeed
System: Linux server.nevid-deploma.com 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
User: smilepac (1037)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/cppython/lib/python3.8/ensurepip/__pycache__/__init__.cpython-38.opt-2.pyc
U

0D�gD�@s�ddlZddlZddlZddlZddlZddlZddlZddgZdZdZ	dZ
de	dfd	e
dfgZdd
d�Zdd�Z
d
d�Zddddddd�dd�Zddddddd�dd�Zdd�dd�Zddd�ZdS)�N�version�	bootstrap)�
setuptools�pipz56.0.0z23.0.1rZpy3rcCsFd|pg�d|�d�}tjd|g}tjjr6|�dd�tj|dd�jS)	Nz$
import runpy
import sys
sys.path = z + sys.path
sys.argv[1:] = z>
runpy.run_module("pip", run_name="__main__", alter_sys=True)
z-c�z-IT)�check)�sys�
executable�flags�isolated�insert�
subprocess�run�
returncode)�args�additional_paths�code�cmd�r�1/opt/cppython/lib/python3.8/ensurepip/__init__.py�_run_pips��rcCstS)N)�_PIP_VERSIONrrrrr(scCs2dd�tjD�}|D]}tj|=qtjtjd<dS)NcSsg|]}|�d�r|�qS)ZPIP_)�
startswith)�.0�krrr�
<listcomp>2s
z7_disable_pip_configuration_settings.<locals>.<listcomp>ZPIP_CONFIG_FILE)�os�environ�devnull)Zkeys_to_removerrrr�#_disable_pip_configuration_settings.s
rF��root�upgrade�user�
altinstall�default_pip�	verbositycCst||||||d�dS)Nr )�
_bootstrapr rrrr:s

�cCs<|r|rtd��t�d|�t�|r2dtjd<n|s@dtjd<t����}g}tD]h\}}	}
d�	||	|
�}t
�dd�	|��}ttj
�||�d	��}
|
�|�W5QRX|�tj
�||��qRdd
dd|g}|r�|d
|g7}|r�|dg7}|r�|dg7}|�r|dd|g7}t|dd�tD�|�W5QR�SQRXdS)Nz.Cannot use altinstall and default_pip togetherzensurepip.bootstrapr$ZENSUREPIP_OPTIONS�installz{}-{}-{}-none-any.whlZ	ensurepipz_bundled/{}�wbz--no-cache-dirz
--no-indexz--find-links�--root�	--upgrade�--user�-�vcSsg|]}|d�qS�rr�r�prrrr�sz_bootstrap.<locals>.<listcomp>)�
ValueErrorr�auditrrr�tempfile�TemporaryDirectory�	_PROJECTS�format�pkgutil�get_data�open�path�join�write�appendr)r!r"r#r$r%r&ZtmpdirrZprojectrZpy_tagZ
wheel_nameZwhl�fprrrrr'Is:	

�

r')r&cCs�zddl}Wntk
r"YdSX|jtkrNd}t|�|jt�tjd�dSt�dddg}|rt|dd|g7}t	|d	d
�t
t�D��S)NrzOensurepip will only uninstall a matching version ({!r} installed, {!r} bundled))�fileZ	uninstallz-yz--disable-pip-version-checkr-r.cSsg|]}|d�qSr/rr0rrrr�sz%_uninstall_helper.<locals>.<listcomp>)r�ImportError�__version__r�printr7r�stderrrr�reversedr6)r&r�msgrrrr�_uninstall_helper�s

rGcCs�ddl}|jdd�}|jddd�t��dd�|jd	d
dddd
d�|jdddddd�|jddddd�|jdddd�|jddddd�|jddddd�|�|�}t|j|j|j	|j
|j|jd�S)Nrzpython -m ensurepip)�progz	--versionrzpip {}z9Show the version of pip that is bundled with this Python.)�actionr�helpz-vz	--verbose�countr&zDGive more output. Option is additive, and can be used up to 3 times.)rI�default�destrJz-Ur+�
store_trueFz8Upgrade pip and dependencies, even if already installed.)rIrLrJr,zInstall using the user scheme.r*z=Install everything relative to this alternate root directory.)rLrJz--altinstallzoMake an alternate install, installing only the X.Y versioned scripts (Default: pipX, pipX.Y, easy_install-X.Y).z
--default-pipzqMake a default pip install, installing the unqualified pip and easy_install in addition to the versioned scripts.)r!r"r#r&r$r%)
�argparse�ArgumentParser�add_argumentr7r�
parse_argsr'r!r"r#r&r$r%)�argvrO�parserrrrr�_main�sn
�������
�rU)N)N)rZos.pathr8rZrunpyr4r
�__all__Z_PACKAGE_NAMESZ_SETUPTOOLS_VERSIONrr6rrrrr'rGrUrrrr�<module>s8�
��9