Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
contego / home / tvault / .virtenv / lib / python2.7 / site-packages / pip / locations.pyc
Size: Mime:
ó
œèRc@sâdZddlZddlZddlZddlZddlmZmZddlZddl	m
Z
ddlZej
jej
jeƒdƒZdZdZd„Zd	„Zd
„Zd„Zd„Zeƒr
ej
jejd
ƒZej
jejdƒZnIeƒZyej
jejƒdƒZWnek
rRejdƒnXej
jej
j eƒƒZej
jeƒZe
ƒZ!ej
j"dƒZ#ej$dkr4ej
jejdƒZ%ej
j&e%ƒsòej
jejdƒZ%nej
je#dƒZ'ej
je'dƒZ(ej
je'dƒZ)n›ej
jejdƒZ%ej
je#dƒZ'ej
je'dƒZ(ej
je'dƒZ)ej$d dkrÏejd dkrÏdZ%ej
je#dƒZ)ne*dd„Z,dS( s7Locations where we look for configs, install stuff, etciÿÿÿÿN(tinstalltSCHEME_KEYS(tget_python_libs
cacert.pems¹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.txtcCs?tjj|tƒ}t|dƒ}|jtƒ|jƒdS(s?
    Write the pip delete marker file into this directory.
    twN(tostpathtjointPIP_DELETE_MARKER_FILENAMEtopentwritetDELETE_MARKER_MESSAGEtclose(t	directorytfilepatht	marker_fp((sB/home/tvault/.virtenv/lib/python2.7/site-packages/pip/locations.pytwrite_delete_marker_files
cCs
ttdƒS(sM
    Return True if we're running inside a virtualenv, False otherwise.

    treal_prefix(thasattrtsys(((sB/home/tvault/.virtenv/lib/python2.7/site-packages/pip/locations.pytrunning_under_virtualenv!scCsYtjjtjjtjƒƒ}tjj|dƒ}tƒrUtjj|ƒrUt	SdS(s?
    Return True if in a venv and no system site packages.
    sno-global-site-packages.txtN(
RRtdirnametabspathtsitet__file__RRtisfiletTrue(tsite_mod_dirtno_global_file((sB/home/tvault/.virtenv/lib/python2.7/site-packages/pip/locations.pytvirtualenv_no_global)s!cCs;tjdkrtjƒSddl}|jtjƒƒjS(s8 Returns the effective username of the current process. twin32iÿÿÿÿN(	RtplatformtgetpasstgetusertpwdtgetpwuidRtgeteuidtpw_name(R!((sB/home/tvault/.virtenv/lib/python2.7/site-packages/pip/locations.pyt__get_username3s
cCstjjtjƒdtƒƒ}tjdkr5|Sytj|ƒt	|ƒWn¯t
k
rd}y?tj|tj
tjBƒ}tj|ƒj}tj|ƒWnt
k
r¾d}nX|tjƒkrd|}|GHddGHtjj|ƒ‚qnX|S(s Returns a safe build_prefix spip_build_%sRsAThe temporary folder for building (%s) is not owned by your user!s0pip will not work until the temporary folder is s-either deleted or owned by your user account.N(RRRttempfilet
gettempdirR%RRtmkdirRtOSErrortNoneRtO_RDONLYt
O_NOFOLLOWtfstattst_uidRR#tpipt
exceptionstInstallationError(Rtfile_uidtfdtmsg((sB/home/tvault/.virtenv/lib/python2.7/site-packages/pip/locations.pyt_get_build_prefix:s.




tbuildtsrcs=The folder you are executing pip from can no longer be found.t~RtScriptstbinR/spip.inispip.logs.pipspip.confitdarwinis/System/Library/s/usr/local/binsLibrary/Logs/pip.logc	CsÕddlm}i}|i|d6ƒ}t|ƒ}|pA|j|_|pS|j|_|jƒx%tD]}t|d|ƒ||<qjWt|d<t	ƒrÑt
jjt
jdddt
jd	 |ƒ|d
<n|S(s+
    Return a distutils install scheme
    iÿÿÿÿ(tDistributiontnametinstall_tscriptstincludeRtpythonitheaders(tdistutils.distR<Rtuserthometfinalize_optionsRtgetattrtbin_pyRRRRRtprefixtversion(t	dist_nameRDRER<tschemetdtitkey((sB/home/tvault/.virtenv/lib/python2.7/site-packages/pip/locations.pytdistutils_schemeƒs"


	(-t__doc__RRRR&tdistutils.command.installRRRtpip.backwardcompatRtpip.exceptionsR/RRRRtdefault_cert_pathR
RRRRR%R5RItbuild_prefixt
src_prefixtgetcwdR)texitRtrealpatht
site_packagest
expandusertuser_dirRRHtexiststdefault_storage_dirtdefault_config_filetdefault_log_filetFalseR*RP(((sB/home/tvault/.virtenv/lib/python2.7/site-packages/pip/locations.pyt<module>sV!	
		
				
	&