Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /opt/cppython/lib/python3.8/ensurepip/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/cppython/lib/python3.8/ensurepip/__pycache__/__init__.cpython-38.pyc
U

?��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)zA
    Returns a string specifying the bundled version of pip.
    )�_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)z�
    Bootstrap pip into the current Python installation (or the given root
    directory).

    Note that calling this function will alter both sys.path and os.environ.
    r N)�
_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)z�
    Bootstrap pip into the current Python installation (or the given root
    directory). Returns pip command status code.

    Note that calling this function will alter both sys.path and os.environ.
    z.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>N)�
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)z~Helper to support a clean default uninstall process on Windows

    Note that calling this function may alter os.environ.
    rNzOensurepip 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

F1le Man4ger