$38 GRAYBYTE WORDPRESS FILE MANAGER $41

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python310/lib64/python3.10/ensurepip/__pycache__/

HOME
Current File : /opt/alt/python310/lib64/python3.10/ensurepip/__pycache__//__init__.cpython-310.opt-1.pyc
o

�ai�&�@sddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
mZddgZdZ
e�dd�ZdaiZd	d
�Zed�Zed�Zded
fded
fgZdd�Zdd�Zdad!dd�Zdd�Zdd�Zddddddd�dd�Zddddddd�dd�Zdd�dd�Zd!dd �ZdS)"�N)�	resources�version�	bootstrap)�
setuptools�pipZPackage)r�
wheel_name�
wheel_pathz'/opt/alt/python310/share/python-wheels/cCs�tj�td�|��}it|<dD]%}d�||�}t�|�D]}|t|�t|��}tj�|�t||<qqt	t
t|tjj
d��S)Nz{}-)z-py2.py3-none-any.whlz-py3-none-any.whlz{}*{})�key)�os�path�join�_WHEEL_PKG_DIR�format�_wheels�glob�len�basename�str�max�	distutilsrZLooseVersion)Zpkg�prefix�suffix�patternrZversion_str�r�9/opt/alt/python310/lib64/python3.10/ensurepip/__init__.py�_get_most_recent_wheel_versions�rrrZpy3cCs�i}zt�|�}Wntyd}Ynwt|�}|D]2}|�d�s#qtD]
}|d}|�|�r2nq%q|�|��d�d}tj	�
||�}t|d|�||<q|S)Nrz.whl�-r)r
�listdir�OSError�sorted�endswith�_PACKAGE_NAMES�
startswith�removeprefix�	partitionrr�_Package)r�packages�	filenames�filename�namerrrrrr�_find_packages0s(�

�r*csjtdurtSi}tD]\}}}t||}t||d�||<q
tr1tt��t�fdd�tD��r1�}|a|S)Nc3s�|]}|�vVqdS�Nr)�.0r)�Zdir_packagesrr�	<genexpr>Ys�z _get_packages.<locals>.<genexpr>)�	_PACKAGES�	_PROJECTSrr%r
r*�allr!)r&r)r�py_tagrrr-r�
_get_packagesMsr3cCsJd|pg�d|�d�}tjddd|g}tjjr|�dd�tj|d	d
�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-Wzignore::DeprecationWarningz-c�z-IT)Zcheck)�sys�
executable�flags�isolated�insert�
subprocess�run�
returncode)�args�additional_paths�code�cmdrrr�_run_pip`s��	�rAcCst�djS)zA
    Returns a string specifying the bundled version of pip.
    r)r3rrrrrrzscCs2dd�tjD�}|D]}tj|=q
tjtjd<dS)NcSsg|]	}|�d�r|�qS)ZPIP_)r")r,�krrr�
<listcomp>�sz7_disable_pip_configuration_settings.<locals>.<listcomp>ZPIP_CONFIG_FILE)r
�environ�devnull)Zkeys_to_removerBrrr�#_disable_pip_configuration_settings�s
rFF��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.
    rGN)�
_bootstraprGrrrr�s

�cCsv|r|rtd��t�d|�t�|rdtjd<n|s dtjd<t����}g}tD]O\}}	}
t	||	}tj
�t|�}tj
�||�}
t
|d��$}t
|
d��}|�|���Wd�n1s_wYWd�n1snwY|�|
�q)dd	d
d|g}|r�|d|g7}|r�|d
g7}|r�|dg7}|r�|dd|g7}tg|�t�|�Wd�S1s�wYdS)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.bootstraprKZENSUREPIP_OPTIONSZinstall�rb�wbNz--no-cache-dirz
--no-indexz--find-links�--root�	--upgrade�--userr�v)�
ValueErrorr5�auditrFr
rD�tempfileZTemporaryDirectoryr0rrrr
�open�write�read�appendrAr!)rHrIrJrKrLrMZtmpdirr>Zprojectrr2rZfilename_wheelZfilename_tmpZsfp�fpr=rrrrN�s@	

���

$�rN)rMcCs�zddl}Wn
tyYdSwt�}|j|kr*td|j�d|�d�tjd�dSt�gd�}|r<|dd	|g7}tg|�t	t
���S)
z~Helper to support a clean default uninstall process on Windows

    Note that calling this function may alter os.environ.
    rNz2ensurepip will only uninstall a matching version (z installed, z available))�file)Z	uninstallz-yz--disable-pip-version-checkrrT)r�ImportErrorr�__version__�printr5�stderrrFrA�reversedr!)rMrZavailable_versionr=rrr�_uninstall_helper�s(�
���rccCs�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�countrMzDGive more output. Option is additive, and can be used up to 3 times.)re�default�destrfz-UrR�
store_trueFz8Upgrade pip and dependencies, even if already installed.)rerhrfrSzInstall using the user scheme.rQz=Install everything relative to this alternate root directory.)rhrfz--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.)rHrIrJrMrKrL)
�argparse�ArgumentParser�add_argumentrr�
parse_argsrNrHrIrJrMrKrL)�argvrk�parserr=rrr�_main�sj
�������
�rqr+) Zdistutils.versionrr�collectionsr
Zos.pathr:r5Z	sysconfigrW�	importlibr�__all__r!�
namedtupler%r
rrZ_SETUPTOOLS_VERSIONZ_PIP_VERSIONr0r*r3r/rArrFrrNrcrqrrrr�<module>sN�
�
��8


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__init__.cpython-310.opt-1.pyc
6.583 KB
9 Jan 2026 2.05 PM
root / linksafe
0644
__init__.cpython-310.opt-2.pyc
6.035 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
__init__.cpython-310.pyc
6.583 KB
9 Jan 2026 2.05 PM
root / linksafe
0644
__main__.cpython-310.opt-1.pyc
0.245 KB
9 Jan 2026 2.05 PM
root / linksafe
0644
__main__.cpython-310.opt-2.pyc
0.245 KB
9 Jan 2026 2.05 PM
root / linksafe
0644
__main__.cpython-310.pyc
0.245 KB
9 Jan 2026 2.05 PM
root / linksafe
0644
_uninstall.cpython-310.opt-1.pyc
0.935 KB
9 Jan 2026 2.05 PM
root / linksafe
0644
_uninstall.cpython-310.opt-2.pyc
0.855 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
_uninstall.cpython-310.pyc
0.935 KB
9 Jan 2026 2.05 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF