usr/lib/python2.7/site-packages/pip/locations.pyc000064400000011241147205231110015706 0ustar00 abc@@sdZddlmZddlZddlZddlZddlZddlmZddl m Z m Z ddl m Z mZddlmZejdZd Zd Zd Zd Zd ZerejjejdZn@yejjejdZWnek r+ejdnXejjeZej Z!ej"Z#edZ$e rejjejdZ%ejje#dZ&ejj'e%sejjejdZ%ejje#dZ&ndZ(ejje$dZ)ejje)e(Z*nejjejdZ%ejje#dZ&dZ(ejje$dZ)ejje)e(Z*ej+d dkrejd dkrdZ%ngej,dD]Zejjee(^qZ-e.dde.ddZ0dS(s7Locations where we look for configs, install stuff, etci(tabsolute_importN(t sysconfig(tinstallt SCHEME_KEYS(tWINDOWSt expanduser(tappdirstpipsThis 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}|jtWdQXdS(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@s9ttdrtStjttdtjkr5tStS(sM Return True if we're running inside a virtualenv, False otherwise. t real_prefixt base_prefix(thasattrtsystTruetprefixtgetattrtFalse(((s1/usr/lib/python2.7/site-packages/pip/locations.pytrunning_under_virtualenv's cC@sYtjjtjjtj}tjj|d}trUtjj|rUt SdS(s? Return True if in a venv and no system site packages. sno-global-site-packages.txtN( R R tdirnametabspathtsitet__file__R RtisfileR(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@sddlm}i}|r/idgd6}ni}i|d6} | j||| } | j| jddt} |o| stdj|||p| j| _|rd | _ n|p| j | _ |p| j | _ |p| j | _ | j x%t D]} t| d | || tisolatedRR*tschemetextra_dist_argst dist_argstdtitkeyt path_no_drive((s1/usr/lib/python2.7/site-packages/pip/locations.pytdistutils_scheme|sH    %   %      (1t__doc__t __future__RR tos.pathRRt distutilsRtdistutils.command.installRRt pip.compatRRt pip.utilsRtuser_cache_dirtUSER_CACHE_DIRRR RRR$R R Rt src_prefixtgetcwdtOSErrortexitRtget_python_libt site_packagest USER_SITEt user_sitetuser_dirtbin_pytbin_usertexiststconfig_basenametlegacy_storage_dirtlegacy_config_filetplatformtsite_config_dirstsite_config_filesRRCRN(((s1/usr/lib/python2.7/site-packages/pip/locations.pytsd               & .