*j S SK r S SKrS SKrS SKrS SKrS SKrS SKJr S SKJ r S SK
Jr S SKJ
r
SS/rSrS rS
rS rS rSS
jrS rS rSSSSSS S.S jrSSSSSS S.S jrS S.S jrSS jrg) N)nullcontext) resources)Path)copy2version bootstrapPIP_VERSIONz'/opt/alt/python313/share/python-wheels/c [ c g [ R " [ S- 5 n [ U 5 S n[ U5 $ ! [ a g f = f)Nz pip-*.whl)_WHEEL_PKG_DIRglobsorted
IndexErrorr )dist_matching_wheelslast_matching_dist_wheels 9/opt/alt/python313/lib64/python3.13/ensurepip/__init__.py_find_wheel_pkg_dir_pipr sY 99^k%AB#)*>#?#C
/00 s A
A
A
c [ 5 =n b U $ [ R " [ R " S5 S- S[ S3- 5 $ )N ensurepip_bundledpip-z-py3-none-any.whl)r r as_filefiles_PIP_VERSION)alternative_pip_wheel_paths r _get_pip_whl_path_ctxr ' sP &=&??"L))$
/
0 1 c [ 5 n [ R R U 5 nUR S5 R S5 S sS S S 5 $ ! , ( d f g = f)Nr -r )r ospathbasenameremoveprefix partition)bundled_wheel_path
wheel_names r _get_pip_versionr' 3 sP $6WW%%&89
L IcN1
! s AA
A&c SU=( d / SU S3n[ R SSSU/n[ R R ( a UR 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
executableflagsisolatedinsert
subprocessrun
returncode)argsadditional_pathscodecmds r _run_pipr7 > sz
"# $v D $C yy
1d>>#T*555r c [ 5 $ )z9
Returns a string specifying the bundled version of pip.
)r' r r r r X s
r c [ R V s/ s H o R S5 ( d M U PM nn U H n [ R U M [ R [ R S' g s sn f )NPIP_PIP_CONFIG_FILE)r environ
startswithdevnull)kkeys_to_removes r #_disable_pip_configuration_settingsrB _ sU "$DA||F/CaND
JJqM %'JJBJJ ! Es
A4A4Frootupgradeuser
altinstalldefault_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.
rC N)
_bootstraprC s r r r k s D$"$r c U( a U( a [ S5 e[ R " SU 5 [ 5 U( a S[ R
S' OU( d S[ R
S' [ R " 5 n[ U5 n[ 5 nU[ R R U5 - n [ X5 SSS5 SSSS U/n
U ( a U
S
U /-
n
U( a U
S/-
n
U( a U
S/-
n
U( a U
S
SU- - /-
n
[ / U
QSP[ R " W 5 /5 sSSS5 $ ! , ( d f N~= f! , ( d f 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_OPTIONSinstallNz--no-cache-dirz
--no-indexz--find-links--root --upgrade--userr vpip)
ValueErrorr+ auditrB r r= tempfileTemporaryDirectoryr r r! r" r r7 fsdecode)rD rE rF rG rH rI tmpdirtmpdir_pathr% tmp_wheel_pathr3 s r rK rK z s. kIJJII#T*') *6
&'
*3
&' $ $ && 6l
"
$(:(277+;+;