• Home (current)
  • वर्तमान निदेशक => /lib/python2.7/ensurepip/
  • सूचना एवं अपलोड
    Info Server
Indian Cyber Force
Folders रचयन्तु सञ्चिकां रचयन्तु RansomWeb लॉगआउट
Current File : //lib/python2.7/ensurepip/__init__.pyc
�
;;Wgc@s�ddlmZddlZddlZddlZddlZddlZddlZddlZddgZ	d�Z
ddgZdd�Z
d	�Zd
�Zdeeeedd�Zdeeeedd
�Zdd�Zdd�ZdS(i����(tprint_functionNtversiont	bootstrapcCs$tr td�tjd�ndS(Ns�ensurepip is disabled in Debian/Ubuntu for the system python.

Python modules For the system python are usually handled by dpkg and apt-get.

    apt-get install python-<module name>

Install the python-pip package to use pip itself.  Using pip together
with the system python might have unexpected results for any system installed
module, so use it on your own risk, or make sure to only use it in virtual
environments.
i(tTruetprinttsystexit(((s(/usr/lib/python2.7/ensurepip/__init__.pyt _ensurepip_is_disabled_in_debianst
setuptoolstpipcCs;|dk	r|tjt_nddl}|jj|�S(Ni����(tNoneRtpatht
pip._internalt	_internaltmain(targstadditional_pathsR	((s(/usr/lib/python2.7/ensurepip/__init__.pyt_run_pip%scCsmt�d}tjd|�}t|�dkrStjj|d�jd�dStd||f��dS(sA
    Returns a string specifying the bundled version of pip.
    R	s!/usr/share/python-wheels/%s-*.whliit-sbmissing dependency wheel %s. Installation of the python-%s-whl package is needed to use ensurepip.N(RtglobtlentosRtbasenametsplittRuntimeError(twhl_nametwheel_names((s(/usr/lib/python2.7/ensurepip/__init__.pyR/s!cCsZgtjD]}|jd�r
|^q
}x|D]}tj|=q2Wtjtjd<dS(NtPIP_tPIP_CONFIG_FILE(Rtenviront
startswithtdevnull(tktkeys_to_remove((s(/usr/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(R#R$R%R&R'R(((s(/usr/lib/python2.7/ensurepip/__init__.pyRGs
c	CsJt�|r"|r"td��nt�|r?dtjd<n|sUdtjd<nd�}g}xItt�D];}tjd|�}	t|	�dkrq|j	|�qqqqW|r�t
dd	j|g�d	jg|D]}
d
|
^q��f��ntj
�}x�tD]}}yJtd|��4}g|j�D]}
|
d j�d
^q7}WdQXWntk
rwg}nX|||tj�qWz�g}|t||�ddd|g}|r�|d|g7}n|r�|dg7}n|r�|dg7}n|r|dd|g7}nt|t|�SWdtj|dt�XdS(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 togetherR&tENSUREPIP_OPTIONStinstallc
Ssx|D]�}tjdj|��}t|�dkrPtd||f��nt|�dksnt|��tjj|d�}tjjd|�}t	|d��}|j
�}WdQXtjj||�}	t	|	d��}|j|�WdQX|j|	�qWdS(Ns!/usr/share/python-wheels/{}-*.whlisbmissing dependency wheel %s. Installation of the python-%s-whl package is needed to use ensurepip.is/usr/share/python-wheelstrbtwb(
RtformatRRtAssertionErrorRRRtjointopentreadtwritetappend(
twheelstdestdirtpathstprojectRt
wheel_nameRtfptwhltdest((s(/usr/lib/python2.7/ensurepip/__init__.pytcopy_wheelsvs
s!/usr/share/python-wheels/%s-*.whlisRmissing wheel(s) %s. Installation of the %s package(s) is needed to use ensurepip.s, s
python-%s-whls(/usr/share/python-wheels/%s.dependenciesi����iNs
--no-indexs--find-linkss--roots	--upgrades--userRtvt
ignore_errors(Rt
ValueErrorR"RRtreversedt	_PROJECTSRRR4RR0ttempfiletmkdtempR1t	readlinesRtIOErrorRRRtshutiltrmtreeR(R#R$R%R&R'R(R=tmissingR8RtmttmpdirR:tlinetdependenciesRR((s(/usr/lib/python2.7/ensurepip/__init__.pyR)VsP		0
7

cCs�yddl}Wntk
r$dSXtrf|jtkrfd}t|j|jt�dtj�dSt	�dddg}|r�|dd	|g7}nt
|tt��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-checkRR>(
R	tImportErrortFalset__version__t_PIP_VERSIONRR.RtstderrR"RRARB(R(R	tmsgR((s(/usr/lib/python2.7/ensurepip/__init__.pyt_uninstall_helper�s
"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	--verbosetcounttdefaultiR<R(sDGive 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-pipR's--no-default-piptstore_falsesLMake a non default install, installing only the X and X.Y versioned scripts.R#R$R%R&(targparsetArgumentParsertadd_argumentR.RRQR
RtSUPPRESSt
parse_argsR)R#R$R%R(R&R'(targvR^tparserR((s(/usr/lib/python2.7/ensurepip/__init__.pyt_main�sf		
					(t
__future__RRRtos.pathtpkgutilRGRRCt__all__RRBR
RRR"RQRRR)RVRe(((s(/usr/lib/python2.7/ensurepip/__init__.pyt<module>s,		
			
	Y
curly – Verilere bak
Menu
  • Top 10

Verilere bak

Follow us
  • facebook
  • twitter
Search
Login
Create
Menu

Verilere bak

Login

You are here:

  1. Home
  2. Tag Archives: curly

curly

Latest stories

Can You Watch These 27 Examples of Food Porn Without Getting Hungry?

  • facebook
  • twitter

Arşivler

Kategoriler

Disclaimer

This demo site is only for demonstration purposes. All images are copyrighted to their respective owners. All content cited is derived from their respective sources.

© 2017 bring the pixel. Remember to change this

  • Home
  • Contact us
Back to Top
Close
  • Top 10
  • Home
  • Animals
  • Funny
  • WOW
  • WTF
  • Features
  • facebook
  • twitter
Create

Log In

Sign In

Forgot password?

Forgot password?

Enter your account data and we will send you a link to reset your password.

Back to Login

Your password reset link appears to be invalid or expired.

Log in

Privacy Policy

Accept

Add to Collection

  • Public collection title

  • Private collection title

No Collections

Here you'll find all collections you've created before.

Hey Friend!
Before You Go…

Get the best viral stories straight into your inbox before everyone else!

Don't worry, we don't spam

Close

Newsletter

Don’t miss out on new posts!

Don't worry, we don't spam

Close