Your IP : 18.190.176.187


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-2.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$�N)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_settingsrC_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)NrD)�
_bootstraprDs      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 SSSSU/n
U(aU
S	U/-
n
U(aU
S
/-
n
U(aU
S/-
n
U(aU
SS
U--/-
n
[/U
QSP[R"W	5/5sSSS5 $!,(df   N~=f!,(df   g=f)Nz.Cannot use altinstall and default_pip togetherzensurepip.bootstraprH�ENSUREPIP_OPTIONS�installz--no-cache-dirz
--no-indexz--find-links�--root�	--upgrade�--userr�v�pip)�
ValueErrorr+�auditrCr r>�tempfile�TemporaryDirectoryrrr!r"rr7�fsdecode)rErFrGrHrIrJ�tmpdir�tmpdir_pathr%�tmp_wheel_pathr3s           rrLrLzs.���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 )rJc��SSKn[5nURU:wa,[	SUR<SU<S3[
RS9 g[5 /SQnU(aUSSU--/-
n[/UQS	P5$![a gf=f)
Nrz2ensurepip will only uninstall a matching version (z installed, z available))�file)�	uninstallz-yz--disable-pip-version-checkrrSrT)	rT�ImportErrorr�__version__�printr+�stderrrCr7)rJrT�available_versionr3s    r�_uninstall_helperre�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�countrJzDGive more output. Option is additive, and can be used up to 3 times.)rh�default�destriz-UrQ�
store_trueFz8Upgrade pip and dependencies, even if already installed.)rhrkrirRzInstall using the user scheme.rPz=Install everything relative to this alternate root directory.)rkriz--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.)rErFrGrJrHrI)
�argparse�ArgumentParser�add_argument�formatr�
parse_argsrLrErFrGrJrHrI)�argvrn�parserr3s    r�_mainru�s^���
�
$�
$�*?�
$�
@�F�
���������	�*�
H�	������k���
��������k���
G�	��������
-�	�������
L���
������1�	��������6�	�����T�"�D��
�Y�Y����
�Y�Y��.�.��?�?��$�$�
�rr9)r r0r+�	sysconfigrWr
�
contextlibr�	importlibr�pathlibr�shutilr�__all__rrrrr'r7rrCrrLrerur:rr�<module>r|s���	��
����"�����k�
"����;��
1� 	�
�6�4�	/��E���E��$��U���E��0G�f$%�$�>:r

?>