ok

Mini Shell

Direktori : /opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/
Upload File :
Current File : //opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyo

�
Bu�_c@@s0ddlmZddlZddlZddlZddlZddlZddlmZddl	m
Z
ddlmZer�ddl
mZddlmZmZmZmZmZmZddlmZdd	lmZneje�Zejd
��Zejd��Zde fd
��YZ!dS(i(tabsolute_importN(tcontextlib2(t
TempDirectory(tMYPY_CHECK_RUNNING(t
TracebackType(tDicttIteratortOptionaltSettTypetUnion(tInstallRequirement(tLinkck@s�tj}t�}i}xT|j�D]F\}}y||||<Wntk
r`|||<nX|||<q%Wz	dVWdx:|j�D],\}}||kr�||=q�|||<q�WXdS(N(tostenvirontobjecttitemstKeyError(tchangesttargettnon_existent_markertsaved_valuestnamet	new_valuetoriginal_value((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pytupdate_env_context_managers		
	
c	c@s�tjjd�}tj��q}|dkrq|jtdd��j}|jt	d|��t
jd|�nt|��}|VWdQXWdQXdS(NtPIP_REQ_TRACKERtkindsreq-trackers Initialized build tracking at %s(
R
RtgetRt	ExitStacktNonet
enter_contextRtpathRtloggertdebugtRequirementTracker(troottctxttracker((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pytget_requirement_tracker2sR#cB@sYeZd�Zd�Zd�Zd�Zd�Zd�Zd�Ze	j
d��ZRS(cC@s,||_t�|_tjd|j�dS(NsCreated build tracker: %s(t_roottsett_entriesR!R"(tselfR$((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyt__init__Ds	cC@stjd|j�|S(NsEntered build tracker: %s(R!R"R((R+((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyt	__enter__JscC@s|j�dS(N(tcleanup(R+texc_typetexc_valtexc_tb((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyt__exit__OscC@s4tj|jj��j�}tjj|j|�S(N(	thashlibtsha224turl_without_fragmenttencodet	hexdigestR
R tjoinR((R+tlinkthashed((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyt_entry_pathXscC@s�|j|j�}y%t|��}|j�}WdQXWn+tk
rd}|jtjkr��q�n"Xdj|j|�}t|��t|d��}|j	t
|��WdQX|jj|�t
jd||j�dS(s5Add an InstallRequirement to build tracking.
        Ns{} is already being built: {}twsAdded %s to build tracker %r(R;R9topentreadtIOErrorterrnotENOENTtformattLookupErrortwritetstrR*taddR!R"R((R+treqt
entry_pathtfptcontentstetmessage((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyRF]s
cC@sCtj|j|j��|jj|�tjd||j�dS(s:Remove an InstallRequirement from build tracking.
        s Removed %s from build tracker %rN(	R
tunlinkR;R9R*tremoveR!R"R((R+RG((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyRN~scC@s>x$t|j�D]}|j|�qWtjd|j�dS(NsRemoved build tracker: %r(R)R*RNR!R"R((R+RG((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyR.�scc@s#|j|�dV|j|�dS(N(RFRN(R+RG((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyttrack�s
(t__name__t
__module__R,R-R2R;RFRNR.t
contextlibtcontextmanagerRO(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyR#Bs						!		("t
__future__RRRR@R3tloggingR
tpip._vendorRtpip._internal.utils.temp_dirRtpip._internal.utils.typingRttypesRttypingRRRRR	R
tpip._internal.req.req_installRtpip._internal.models.linkRt	getLoggerRPR!RSRR'RR#(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyt<module>s".

Zerion Mini Shell 1.0