%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/ensurepip/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/ensurepip/__init__.pyo

ó
Oêáac@søddlmZddlZddlZddlZddlZddlZddlZddgZdZ	dZ
de	fde
fgZdd	„Z
d
„Zd„Zdeeeedd
„Zdeeeedd„Zdd„Zdd„ZdS(iÿÿÿÿ(tprint_functionNtversiont	bootstraps41.2.0s19.2.3t
setuptoolstpipcCs;|dk	r|tjt_nddl}|jj|ƒS(Niÿÿÿÿ(tNonetsystpatht
pip._internalt	_internaltmain(targstadditional_pathsR((s./usr/local/lib/python2.7/ensurepip/__init__.pyt_run_pipscCstS(sA
    Returns a string specifying the bundled version of pip.
    (t_PIP_VERSION(((s./usr/local/lib/python2.7/ensurepip/__init__.pyR#scCsZgtjD]}|jdƒr
|^q
}x|D]}tj|=q2Wtjtjd<dS(NtPIP_tPIP_CONFIG_FILE(tostenviront
startswithtdevnull(tktkeys_to_remove((s./usr/local/lib/python2.7/ensurepip/__init__.pyt#_disable_pip_configuration_settings*s+
ic
Cs/td|d|d|d|d|d|ƒdS(s­
    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.
    troottupgradetusert
altinstalltdefault_pipt	verbosityN(t
_bootstrap(RRRRRR((s./usr/local/lib/python2.7/ensurepip/__init__.pyR6s
cCs°|r|rtdƒ‚ntƒ|r8dtjd<n|sNdtjd<ntjƒ}z;g}x‘tD]‰\}}	dj||	ƒ}
tj	ddj|
ƒƒ}t
tjj||
ƒdƒ}|j
|ƒWd	QX|jtjj||
ƒƒqjWdd
d|g}
|r"|
d|g7}
n|r8|
d
g7}
n|rN|
dg7}
n|rl|
dd|g7}
nt|
gtD]}|d^qy|ƒSWd	tj|dtƒXd	S(sÎ
    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.
    s.Cannot use altinstall and default_pip togetherRtENSUREPIP_OPTIONStinstalls{}-{}-py2.py3-none-any.whlt	ensurepips_bundled/{}twbNs
--no-indexs--find-linkss--roots	--upgrades--usert-tvit
ignore_errors(t
ValueErrorRRRttempfiletmkdtempt	_PROJECTStformattpkgutiltget_datatopenRtjointwritetappendR
tshutiltrmtreetTrue(RRRRRRttmpdirRtprojectRt
wheel_nametwhltfpRtp((s./usr/local/lib/python2.7/ensurepip/__init__.pyREs:	! ,cCs¿yddl}Wntk
r$dSX|jtkr`d}t|j|jtƒdtjƒdStƒdddg}|r”|dd	|g7}nt	|gt
tƒD]}|d
^q§ƒS(s~Helper to support a clean default uninstall process on Windows

    Note that calling this function may alter os.environ.
    iÿÿÿÿNsOensurepip will only uninstall a matching version ({!r} installed, {!r} bundled)tfilet	uninstalls-ys--disable-pip-version-checkR#R$i(RtImportErrort__version__RtprintR*RtstderrRR
treversedR)(RRtmsgRR9((s./usr/local/lib/python2.7/ensurepip/__init__.pyt_uninstall_helpers
"c
Cs}ddl}|jddƒ}|jdddddjtƒƒdd	ƒ|jd
dddd
dddddƒ|jddddd
tddƒ|jdddd
tddƒ|jdd
dddƒ|jdddd
tddƒ|jdddd
tddd|jƒ|jddddddd ƒ|j	|ƒ}t
d!|jd"|jd#|j
d|jd$|jd|jƒS(%Niÿÿÿÿtprogspython -m ensurepips	--versiontactionRspip {}thelps9Show the version of pip that is bundled with this Python.s-vs	--verbosetcounttdefaultitdestRsDGive more output. Option is additive, and can be used up to 3 times.s-Us	--upgradet
store_trues8Upgrade pip and dependencies, even if already installed.s--usersInstall using the user scheme.s--roots=Install everything relative to this alternate root directory.s--altinstallsoMake an alternate install, installing only the X.Y versioned scripts (Default: pipX, pipX.Y, easy_install-X.Y).s
--default-pipRs--no-default-piptstore_falsesLMake a non default install, installing only the X and X.Y versioned scripts.RRRR(targparsetArgumentParsertadd_argumentR*RtFalseRR3tSUPPRESSt
parse_argsRRRRRRR(targvRKtparserR((s./usr/local/lib/python2.7/ensurepip/__init__.pyt_main›sf		
					(t
__future__RRtos.pathR+R1RR't__all__t_SETUPTOOLS_VERSIONRR)RR
RRRNR3RRRBRS(((s./usr/local/lib/python2.7/ensurepip/__init__.pyt<module>s,	
			
	8

Zerion Mini Shell 1.0