python (3.12.0)

(root)/
lib/
python3.12/
ensurepip/
__pycache__/
__init__.cpython-312.opt-1.pyc

̑e$ddlZddlZddlZddlZddlZddlZddlZddlmZddgZ	dZ
dZdedfgZejd	d
ZejdadZd
ZdaddZdZdZddddddddZddddddddZdddZddZy)N)	resourcesversion	bootstrap)pipz23.2.1rpy3Package)r
wheel_name
wheel_path
WHEEL_PKG_DIRci}	tj|}t|}|D]}|j	dst
D]}|dz}|j
|sn9|j|jdd}tjj||}t|d|||<|S#t$rd}YwxYw)Nz.whl-r)oslistdirOSErrorsortedendswith_PACKAGE_NAMES
startswithremoveprefix	partitionpathjoin_Package)rpackages	filenamesfilenamenameprefixrr
s        F/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/ensurepip/__init__.py_find_packagesr!sHJJt$	y!I=  ("	DCZF""6*	

''/99#>qAWW\\$1
!'4<=O-	sB66CCcttSi}tD]!\}}}|d|d|d}t||d||<#tr)t	ttfdtDr}|a|S)Nrz
-none-any.whlc3&K|]}|v
ywNr
).0rdir_packagess  r 	<genexpr>z _get_packages.<locals>.<genexpr>Gs?t|#?s)	_PACKAGES	_PROJECTSr_WHEEL_PKG_DIRr!allr)rrrpy_tagr	r&s     @r 
_get_packagesr-;sH!*=gvvQwiq
>
!':t<=%n5???#HIOcd|xsgd|d}tjddd|g}tjjr|j	ddtj|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-cz-IT)check)sys
executableflagsisolatedinsert
subprocessrun
returncode)argsadditional_pathscodecmds    r _run_pipr>Nsz

"#$v	D	$Cyy

1d>>#T*555r.c0tdjS)zA
    Returns a string specifying the bundled version of pip.
    r)r-rr
r.r rrhs?5!)))r.ctjDcgc]}|jds|}}|D]}tj|=tjtjd<ycc}w)NPIP_PIP_CONFIG_FILE)renvironrdevnull)kkeys_to_removes  r #_disable_pip_configuration_settingsrGos["$DAq||F/CaDND
JJqM%'JJBJJ !Es
A*A*Frootupgradeuser
altinstalldefault_pip	verbosityc&t||||||y)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.
    rHN)
_bootstraprHs      r rr{sD'$+"$r.c|r
|rtdtjd|t|rdtj
d<n|sdtj
d<t
j5}g}tjD]\}}	|	jr8|	j}
tjddz|
z}|j}nXt|	jd5}
|
j!}d	d	d	tj"j%|	j}
tj"j'||
}t|d
5}
|
j)d	d	d	|j+|dddd
|g}|r|d|gz
}|r|dgz
}|r|dgz
}|r|dd|zzgz
}t-g|t.|cd	d	d	S#1swYxYw#1swYsxYw#1swYy	xYw)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.bootstraprLENSUREPIP_OPTIONSinstall	ensurepip_bundledrbNwbz--no-cache-dirz
--no-indexz--find-links--root	--upgrade--userrv)
ValueErrorr2auditrGrrCtempfileTemporaryDirectoryr-itemsr	rfiles
read_bytesopenr
readrbasenamerwriteappendr>r)rIrJrKrLrMrNtmpdirr;rpackager	r
whlfprr:s                r rPrPskIJJII#T*')*6

&'
*3

&'		$	$	&!D&*_224	.MD'!!$//
&__[9JFS
 ++-',,d3$r'')C$WW--g.@.@A
ww||FJ7Hh%



##H-!	.&+\>6RXt$$D[M!DXJDS3?*++D0$002BCC!D!D$$


#!D!Ds?/A;G(*G;AG(G*AG(GG(G%!G((G1)rNc&	ddl}t}|j|k7r-t	d|jd|dt
jytgd}|r|dd	|zzgz
}tg|ttS#t$rYywxYw)
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)	uninstallz-yz--disable-pip-version-checkrr[)rImportErrorr__version__printr2stderrrGr>reversedr)rNravailable_versionr:s    r _uninstall_helperrus 	
++
//$L"%[2::		')>DsY&''6d6Xn5677)sB	BBcBddl}|jd}|jdddjt	d|jd	d
dddd
|jddddd|jdddd|jddd|jdddd|jdddd|j|}t
|j|j|j|j|j|jS)Nrzpython -m ensurepip)progz	--versionrzpip {}z9Show the version of pip that is bundled with this Python.)actionrhelpz-vz	--verbosecountrNzDGive more output. Option is additive, and can be used up to 3 times.)rxdefaultdestryz-UrY
store_trueFz8Upgrade pip and dependencies, even if already installed.)rxr{ryrZzInstall using the user scheme.rXz=Install everything relative to this alternate root directory.)r{ryz--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.)rIrJrKrNrLrM)
argparseArgumentParseradd_argumentformatr
parse_argsrPrIrJrKrNrLrM)argvr~parserr:s    r _mainrs^

$
$*?
$
@F
	*
H	k
k
G	
-	
L
1	6	T"D
YY
YY..??$$
r.r$)collectionsros.pathr7r2	sysconfigr^	importlibr__all__r_PIP_VERSIONr)
namedtuplerget_config_varr*r!r-r(r>rrGrrPrurr
r.r <module>rs	
k
"
L% 
	";!!)"IK*))/:: 
	64*	/EE$UE>D@$%8>:r.