ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/pip/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/pip/locations.pyo

�
��abc@@s�dZddlmZddlZddlZddlZddlZddlmZddl	m
Z
mZddlm
Z
mZddlmZejd�Zd	Zd
Zd�Zd�Zd
�Ze�r�ejjejd�Zn@yejjej�d�ZWnek
r+ejd�nXejje�Zej �Z!ej"Z#ed�Z$e
rejjejd�Z%ejje#d�Z&ejj'e%�s�ejjejd�Z%ejje#d�Z&ndZ(ejje$d�Z)ejje)e(�Z*n�ejjejd�Z%ejje#d�Z&dZ(ejje$d�Z)ejje)e(�Z*ej+d dkr�ejd dkr�dZ%ngej,d�D]Zejjee(�^q�Z-e.dde.dd�Z0dS(s7Locations where we look for configs, install stuff, etci(tabsolute_importN(t	sysconfig(tinstalltSCHEME_KEYS(tWINDOWSt
expanduser(tappdirstpips�This file is placed here by pip to indicate the source was put
here by pip.

Once this package is successfully installed this source code will be
deleted (unless you remove this file).
spip-delete-this-directory.txtcC@s>tjj|t�}t|d��}|jt�WdQXdS(s?
    Write the pip delete marker file into this directory.
    twN(tostpathtjointPIP_DELETE_MARKER_FILENAMEtopentwritetDELETE_MARKER_MESSAGE(t	directorytfilepatht	marker_fp((s1/usr/lib/python2.7/site-packages/pip/locations.pytwrite_delete_marker_filescC@s9ttd�rtStjttdtj�kr5tStS(sM
    Return True if we're running inside a virtualenv, False otherwise.

    treal_prefixtbase_prefix(thasattrtsystTruetprefixtgetattrtFalse(((s1/usr/lib/python2.7/site-packages/pip/locations.pytrunning_under_virtualenv's
cC@sYtjjtjjtj��}tjj|d�}t�rUtjj|�rUt	SdS(s?
    Return True if in a venv and no system site packages.
    sno-global-site-packages.txtN(
R	R
tdirnametabspathtsitet__file__RRtisfileR(tsite_mod_dirtno_global_file((s1/usr/lib/python2.7/site-packages/pip/locations.pytvirtualenv_no_global4s!tsrcs=The folder you are executing pip from can no longer be found.t~tScriptstbinspip.inispip.confs.pipitdarwinis/System/Library/s/usr/local/bincC@s�ddlm}i}|r/idgd6}ni}i|d6}	|	j|�||	�}
|
j�|
jddt�}|p�|j|_|r�d|_n|p�|j|_|p�|j|_|p�|j	|_	|j
�x%tD]}t|d	|�||<q�Wd
|
j
d�kr@|jtd|jd|j��nt�r�tjjtjd
ddtjd |�|d<|dk	r�tjjtjj|d��d}
tjj||
d�|d<q�n|S(s+
    Return a distutils install scheme
    i(tDistributions
--no-user-cfgtscript_argstnameRtcreatettinstall_tinstall_libtpurelibtplatlibtincludeRtpythonitheadersiN(tdistutils.distR*tupdatetparse_config_filestget_command_objRtuserRthometroottfinalize_optionsRRtget_option_dicttdictR0RR	R
RRtversiontNonet
splitdriveR(t	dist_nameR:R;R<tisolatedRR*tschemetextra_dist_argst	dist_argstdtitkeyt
path_no_drive((s1/usr/lib/python2.7/site-packages/pip/locations.pytdistutils_scheme|sF




%		
		(1t__doc__t
__future__RR	tos.pathRRt	distutilsRtdistutils.command.installRRt
pip.compatRRt	pip.utilsRtuser_cache_dirtUSER_CACHE_DIRRRRRR$R
RRt
src_prefixtgetcwdtOSErrortexitRtget_python_libt
site_packagest	USER_SITEt	user_sitetuser_dirtbin_pytbin_usertexiststconfig_basenametlegacy_storage_dirtlegacy_config_filetplatformtsite_config_dirstsite_config_filesRRARL(((s1/usr/lib/python2.7/site-packages/pip/locations.pyt<module>sd				
		
				&	.	

Zerion Mini Shell 1.0