HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.7/ensurepip/__pycache__/__init__.cpython-37.opt-2.pyc
B

��g��@s�ddlZddlZddlZddlZddlZddlZddgZdZdZdedfded	fgZ	dd
d�Z
dd�Zd
d�Zddddddd�dd�Z
ddddddd�dd�Zdd�dd�Zddd�ZdS)�N�version�	bootstrapz47.1.0z20.1.1Z
setuptoolsZpy3�pipzpy2.py3c
Cs�|dk	r|tjt_tjdd�}|tjdd�<z>ytjdddd�Wn$tk
rj}z|jSd}~XYnXWd|tjdd�<Xtd��dS)N�r�__main__T)Zrun_nameZ	alter_sysz*pip did not exit, this should never happen)�sys�path�argv�runpyZ
run_module�
SystemExit�code�SystemError)�args�additional_pathsZbackup_argv�exc�r�./usr/local/lib/python3.7/ensurepip/__init__.py�_run_pipsrcCstS)N)�_PIP_VERSIONrrrrr)scCs6dd�tjD�}x|D]}tj|=qWtjtjd<dS)NcSsg|]}|�d�r|�qS)ZPIP_)�
startswith)�.0�krrr�
<listcomp>3sz7_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)N)rrrr r!r")�
_bootstrap)rrrr r!r"rrrr;s
cCs(|r|rtd��t�|r&dtjd<n|s4dtjd<t����}g}xptD]h\}}	}
d�||	|
�}t�	dd�|��}t
tj�||�d��}
|
�
|�WdQRX|�tj�||��qHWdd	d
d|g}|r�|d|g7}|r�|d
g7}|r�|dg7}|�r|dd|g7}t|dd�tD�|�SQRXdS)Nz.Cannot use altinstall and default_pip togetherr ZENSUREPIP_OPTIONS�installz{}-{}-{}-none-any.whlZ	ensurepipz_bundled/{}�wbz--no-cache-dirz
--no-indexz--find-linksz--rootz	--upgradez--user�-�vcSsg|]}|d�qS)rr)r�prrrrsz_bootstrap.<locals>.<listcomp>)�
ValueErrorrrr�tempfileZTemporaryDirectory�	_PROJECTS�format�pkgutil�get_data�openr�join�write�appendr)rrrr r!r"ZtmpdirrZprojectrZpy_tagZ
wheel_nameZwhl�fprrrrr#Js6	



r#)r"cCs�yddl}Wntk
r dSX|jtkrLd}t|�|jt�tjd�dSt�dddg}|rr|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�qS)rr)rr(rrrr�sz%_uninstall_helper.<locals>.<listcomp>)r�ImportError�__version__r�printr,r�stderrrr�reversedr+)r"r�msgrrrr�_uninstall_helper�s

r;cCs�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.)r=�default�destr>z-Uz	--upgrade�
store_trueFz8Upgrade pip and dependencies, even if already installed.)r=r@r>z--userzInstall using the user scheme.z--rootz=Install everything relative to this alternate root directory.)r@r>z--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.)rrrr"r r!)
�argparse�ArgumentParser�add_argumentr,r�
parse_argsr#rrrr"r r!)r	rC�parserrrrr�_main�sZ

rH)N)N)rZos.pathr-rr
r*�__all__Z_SETUPTOOLS_VERSIONrr+rrrrr#r;rHrrrr�<module>s*

5