σ β\e[c@@svdZddlmZddlZddlZddlZddlZddlZddlZddl mZ ddl m Z ddl mZmZddlmZejdƒZd Zd Zd „Zd „Zd „ZeƒrώejjejdƒZn@yejjejƒdƒZWnek r=ejdƒnXejj eƒZej!dƒZ"ej#ƒj$ƒdkr†e j%ƒZ"nyej&ƒZ'Wne(k r²ej)Z'nXedƒZ*ergejjejdƒZ+ejje'dƒZ,ejj-e+ƒs4ejjejdƒZ+ejje'dƒZ,ndZ.ejje*dƒZ/ejje/e.ƒZ0nŒejjejdƒZ+ejje'dƒZ,dZ.ejje*dƒZ/ejje/e.ƒZ0ejd dkrσejd dkrσdZ+ngej1dƒD]Zejjee.ƒ^qZ2ejjeje.ƒZ3ejjej4dƒe.ƒZ5e6dde6dd„Z8dS(s7Locations where we look for configs, install stuff, etci(tabsolute_importN(t sysconfig(t SCHEME_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((s6/tmp/pip-install-0xiv62/pip/pip/_internal/locations.pytwrite_delete_marker_filescC@s9ttdƒrtStjttdtjƒkr5tStS(sM Return True if we're running inside a virtualenv, False otherwise. t real_prefixt base_prefix(thasattrtsystTruetprefixtgetattrtFalse(((s6/tmp/pip-install-0xiv62/pip/pip/_internal/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( RR tdirnametabspathtsitet__file__R RtisfileR(t site_mod_dirtno_global_file((s6/tmp/pip-install-0xiv62/pip/pip/_internal/locations.pytvirtualenv_no_global4s!tsrcs=The folder you are executing pip from can no longer be found.tpurelibtpypyt~tScriptstbinspip.inispip.confs.pipitdarwinis/System/Library/s/usr/local/bincC@sχddlm}i}|r/idgd6}ni}i|d6} | j|ƒ|| ƒ} | jƒ| jddtƒ} |oƒ| sŸtdj||ƒƒ‚|p«| j| _|rΓd | _ n|pΟ| j | _ |pα| j | _ |pσ| j | _ | j ƒx%t D]} t| d | ƒ|| R?tisolatedRR+tschemetextra_dist_argst dist_argstdtitkeyt path_no_drive((s6/tmp/pip-install-0xiv62/pip/pip/_internal/locations.pytdistutils_schemeˆsH    %   %      (9t__doc__t __future__RRtos.pathtplatformRRRt distutilstdistutils_sysconfigtdistutils.command.installRtpip._internal.compatRRtpip._internal.utilsRtuser_cache_dirtUSER_CACHE_DIRRR RRR#R R Rt src_prefixtgetcwdtOSErrortexitRtget_patht site_packagestpython_implementationtlowertget_python_libtgetusersitepackagest user_sitetAttributeErrort USER_SITEtuser_dirtbin_pytbin_usertexiststconfig_basenametlegacy_storage_dirtlegacy_config_filetsite_config_dirstsite_config_filestvenv_config_filetuser_config_dirtnew_config_fileRRDRO(((s6/tmp/pip-install-0xiv62/pip/pip/_internal/locations.pytsv                 & .