Your IP : 3.139.85.51


Current Path : /opt/alt/python313/lib64/python3.13/ensurepip/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib64/python3.13/ensurepip/__pycache__/__init__.cpython-313.opt-1.pyc

�

*}g ����SSKrSSKrSSKrSSKrSSKrSSKrSSKJr SSKJ	r	 SSK
Jr SSKJ
r
 SS/rSrS	rS
rSrSrSS
jrSrSrSSSSSSS.SjrSSSSSSS.SjrSS.SjrSSjrg)�N)�nullcontext)�	resources)�Path)�copy2�version�	bootstrap�PIP_VERSIONz'/opt/alt/python313/share/python-wheels/c��[cg[R"[S-5n[U5Sn[	U5$![a gf=f)Nz	pip-*.whl���)�_WHEEL_PKG_DIR�glob�sorted�
IndexErrorr)�dist_matching_wheels�last_matching_dist_wheels  �9/opt/alt/python313/lib64/python3.13/ensurepip/__init__.py�_find_wheel_pkg_dir_piprsY������9�9�^�k�%A�B���#)�*>�#?��#C� �
�/�0�0��	����s�A�
A
�A
c��[5=nbU$[R"[R"S5S-S[S3-5$)N�	ensurepip�_bundled�pip-z-py3-none-any.whl)rr�as_file�files�_PIP_VERSION)�alternative_pip_wheel_paths r�_get_pip_whl_path_ctxr'sP��&=�&?�?�"�L�)�)��������$�
�	����/�
0�	1���c���[5n[RRU5nUR	S5RS5SsSSS5 $!,(df   g=f)Nr�-r)r�os�path�basename�removeprefix�	partition)�bundled_wheel_path�
wheel_names  r�_get_pip_versionr'3sP��	�	 �$6��W�W�%�%�&8�9�
�
��L�� ��I�c�N�1�
�	
�
!�	 �	 �s�AA�
A&c���SU=(d /SUS3n[RSSSU/n[RR(aUR	SS5 [
R"US	S
9R$)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)�check)�sys�
executable�flags�isolated�insert�
subprocess�run�
returncode)�args�additional_paths�code�cmds    r�_run_pipr7>sz��
�
�"��#�$��v��	�D�	����$����C��y�y����
�
�1�d���>�>�#�T�*�5�5�5rc��[5$)z9
Returns a string specifying the bundled version of pip.
)r'�rrrrXs
����rc���[RVs/sHoRS5(dMUPM nnUHn[RU	M [R[RS'gs snf)N�PIP_�PIP_CONFIG_FILE)r �environ�
startswith�devnull)�k�keys_to_removes  r�#_disable_pip_configuration_settingsrB_sU��"$���D��A�|�|�F�/C�a��N�D�
���J�J�q�M��%'�J�J�B�J�J� �!��Es
�A4�A4F��root�upgrade�user�
altinstall�default_pip�	verbosityc	��[XUX4US9 g)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.
rCN)�
_bootstraprCs      rrrks���D��$�"�$rc���U(aU(a[S5e[R"SU5 [5 U(aS[R
S'OU(dS[R
S'[R"5n[U5n[5nU[RRU5-n	[X�5 SSS5 SSSS	U/n
U(aU
S
U/-
n
U(aU
S/-
n
U(aU
S/-
n
U(aU
S
SU--/-
n
[/U
QSP[R"W	5/5sSSS5 $!,(df   N~=f!,(df   g=f)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.bootstraprG�ENSUREPIP_OPTIONS�installNz--no-cache-dirz
--no-indexz--find-links�--root�	--upgrade�--userr�v�pip)�
ValueErrorr+�auditrBr r=�tempfile�TemporaryDirectoryrrr!r"rr7�fsdecode)rDrErFrGrHrI�tmpdir�tmpdir_pathr%�tmp_wheel_pathr3s           rrKrKzs.���k��I�J�J��I�I�#�T�*�'�)��*6��
�
�&�'�
�*3��
�
�&�'�	�	$�	$�	&�&��6�l��
"�
$�(:�(�2�7�7�+;�+;�<N�+O�O�N��$�5�%�
�+�\�>�6�R����X�t�$�$�D���[�M�!�D���X�J��D���S�3��?�*�+�+�D���$�������^�)D�(E�F�'
'�	&�%�
$��	
'�	&�s%�E�.E�	A.E�
E	�E�
E )rIc��SSKn[5nURU:wa,[	SUR<SU<S3[
RS9 g[5 /SQnU(aUSS	U--/-
n[/UQS
P5$![a gf=f)zvHelper 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)�	uninstallz-yz--disable-pip-version-checkrrRrS)	rS�ImportErrorr�__version__�printr+�stderrrBr7)rIrS�available_versionr3s    r�_uninstall_helperrd�s����� �	��
���+�+�
���/�/�$�L�"�%�[�2��:�:�	�	�'�)�>�D����s�Y��&�'�'���N�d�N�E�N�#�#��)����s�A<�<
B	�B	c	��SSKnURSS9nURSSSR[	55SS9 URS	S
SSSS
S9 URSSSSSS9 URSSSSS9 URSSSS9 URSSSSS9 URSSSSS9 URU5n[
URURURURURURS9$)Nrzpython -m ensurepip)�progz	--versionrzpip {}z9Show the version of pip that is bundled with this Python.)�actionr�helpz-vz	--verbose�countrIzDGive more output. Option is additive, and can be used up to 3 times.)rg�default�destrhz-UrP�
store_trueFz8Upgrade pip and dependencies, even if already installed.)rgrjrhrQzInstall using the user scheme.rOz=Install everything relative to this alternate root directory.)rjrhz--altinstallz]Make an alternate install, installing only the X.Y versioned scripts (Default: pipX, pipX.Y).z
--default-pipz`Make a default pip install, installing the unqualified pip in addition to the versioned scripts.)rDrErFrIrGrH)
�argparse�ArgumentParser�add_argument�formatr�
parse_argsrKrDrErFrIrGrH)�argvrm�parserr3s    r�_mainrt�s^���
�
$�
$�*?�
$�
@�F�
���������	�*�
H�	������k���
��������k���
G�	��������
-�	�������
L���
������1�	��������6�	�����T�"�D��
�Y�Y����
�Y�Y��.�.��?�?��$�$�
�r)N)r r0r+�	sysconfigrVr
�
contextlibr�	importlibr�pathlibr�shutilr�__all__rrrrr'r7rrBrrKrdrtr9rr�<module>r{s���	��
����"�����k�
"����;��
1� 	�
�6�4�	/��E���E��$��U���E��0G�f$%�$�>:r

?>