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    
Size: Mime:
ó
ùðuYc@@s%ddlmZddlZddlZddlZddlZddlZddlm	Z	ddl
mZddl
mZmZddlmZddlmZmZddlmZmZdd	lmZd
ZejeƒZdefd„ƒYZd
efd„ƒYZ d„Z!d„Z"dS(i(tabsolute_importN(tlockfile(tversion(t
total_secondstWINDOWS(tPyPI(tUSER_CACHE_DIRtrunning_under_virtualenv(t
ensure_dirtget_installed_version(tcheck_path_owners%Y-%m-%dT%H:%M:%SZtVirtualenvSelfCheckStatecB@seZd„Zd„ZRS(cC@sptjjtjdƒ|_y.t|jƒ}tj|ƒ|_	WdQXWn t
tfk
rki|_	nXdS(Nspip-selfcheck.json(tostpathtjointsystprefixtstatefile_pathtopentjsontloadtstatetIOErrort
ValueError(tselft	statefile((s//tmp/pip-build-NDUwcL/pip/pip/utils/outdated.pyt__init__scC@sRt|jdƒ:}tji|jtƒd6|d6|dtddƒWdQXdS(	Ntwt
last_checktpypi_versiont	sort_keyst
separatorst,t:(R R!(RRRtdumptstrftimetSELFCHECK_DATE_FMTtTrue(RRtcurrent_timeR((s//tmp/pip-build-NDUwcL/pip/pip/utils/outdated.pytsave$s(t__name__t
__module__RR'(((s//tmp/pip-build-NDUwcL/pip/pip/utils/outdated.pyRs	
tGlobalSelfCheckStatecB@seZd„Zd„ZRS(cC@swtjjtdƒ|_y5t|jƒ }tj|ƒtj	|_
WdQXWn#ttt
fk
rri|_
nXdS(Nsselfcheck.json(RR
RRRRRRRRRRRtKeyError(RR((s//tmp/pip-build-NDUwcL/pip/pip/utils/outdated.pyR3s#cC@sõttjj|jƒƒsdSttjj|jƒƒtj|jƒ¥tjj|jƒrŠt	|jƒ}t
j|ƒ}WdQXni}i|jt
ƒd6|d6|tj<t	|jdƒ#}t
j||dtddƒWdQXWdQXdS(	NRRRRRR R!(R R!(R
RR
tdirnameRRRtLockFiletexistsRRRR#R$RRR"R%(RRR&RR((s//tmp/pip-build-NDUwcL/pip/pip/utils/outdated.pyR'=s(R(R)RR'(((s//tmp/pip-build-NDUwcL/pip/pip/utils/outdated.pyR*2s	
cC@stƒrtƒStƒSdS(N(RRR*(((s//tmp/pip-build-NDUwcL/pip/pip/utils/outdated.pytload_selfcheck_statefileXs	cC@sÌtdƒ}|dkrdStj|ƒ}d}yptƒ}tjjƒ}d|jkr¯d|jkr¯tjj|jdt	ƒ}t
||ƒdkr¯|jd}q¯n|dkrE|jtj
did	d
6ƒ}|jƒgtt|jƒdƒdtjƒD]}tj|ƒjs
|^q
d
}|j||ƒntj|ƒ}	||	kr |j|	jkr trd}
nd}
tjd|||
ƒnWn$tk
rÇtjddtƒnXdS(sÛCheck for an update for pip.

    Limit the frequency of checks to once per week. State is stored either in
    the active virtualenv or in the user's USER_CACHE_DIR keyed off the prefix
    of the pip script path.
    tpipNRRiii<theaderssapplication/jsontAccepttreleasestkeyiÿÿÿÿs
python -m pipsˆYou are using pip version %s, however version %s is available.
You should consider upgrading via the '%s install --upgrade pip' command.s5There was an error checking the latest version of piptexc_infoi¨i`'i€:	(R	tNonetpackaging_versiontparseR/tdatetimetutcnowRtstrptimeR$RtgetRtpip_json_urltraise_for_statustsortedtlistRt
is_prereleaseR'tbase_versionRtloggertwarningt	ExceptiontdebugR%(tsessiontinstalled_versiontpip_versionRRR&Rtresptvtremote_versiontpip_cmd((s//tmp/pip-build-NDUwcL/pip/pip/utils/outdated.pytpip_version_check_sL		
		
	
(#t
__future__RR9Rtloggingtos.pathRRtpip._vendorRtpip._vendor.packagingRR7t
pip.compatRRt
pip.modelsRt
pip.locationsRRt	pip.utilsRR	tpip.utils.filesystemR
R$t	getLoggerR(RCtobjectRR*R/RN(((s//tmp/pip-build-NDUwcL/pip/pip/utils/outdated.pyt<module>s$&