ok

Mini Shell

Direktori : /proc/thread-self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/
Upload File :
Current File : //proc/thread-self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyc

�
�Rec@s�ddlmZddlZddlZddlZddlZddlmZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlZddlZddlZddlmZmZddlmZmZmZmZmZddlmZddlm Z m!Z!m"Z"m#Z#dd	l$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-dd
l.m/Z/m0Z0ej1e2�Z3e4a5e6ed�r�dZ7n9ej8j9d
�r�dZ7nej8dkr�dZ7ndZ7ej:d�Z;e;r*dej<d Z;nde;Z=e7e;Z>ej$j?�j@dd�j@dd�ZAej:d�ZBeBo�eBj9d�r�eBj@dd�ZBnd�ZCeC�ZB[CejDdejEejFB�ZGejDdejEejFB�ZHejDd�ZIejDd�ZJd ZKd!ZLe
jMd"kr0d#�ZNn	d$�ZNd%eOfd&��YZPeP�ZQd'eOfd(��YZRd)�ZSeS�ZT[Se4d*�ZUdS(+i����(tunicode_literalsN(tmessage_from_filei(t__version__tDistlibException(t	sysconfigtZipFiletfsdecodet	text_typetfilter(tInstalledDistribution(tMetadatatMETADATA_FILENAMEtWHEEL_METADATA_FILENAMEtLEGACY_METADATA_FILENAME(	tFileOperatortconvert_patht	CSVReadert	CSVWritertCachetcached_propertytget_cache_basetread_exportsttempdir(tNormalizedVersiontUnsupportedVersionErrorupypy_version_infouppujavaujyucliuipucpupy_version_nodotu%s%siupyu-u_u.uSOABIucpython-cCs|dtg}tjd�r+|jd�ntjd�rJ|jd�ntjd�dkro|jd�nd	j|�S(
NucpuPy_DEBUGudu
WITH_PYMALLOCumuPy_UNICODE_SIZEiuuu(t
VER_SUFFIXRtget_config_vartappendtjoin(tparts((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyt_derive_abi<suz
(?P<nm>[^-]+)
-(?P<vn>\d+[^-]*)
(-(?P<bn>\d+[^-]*))?
-(?P<py>\w+\d+(\.\w+\d+)*)
-(?P<bi>\w+)
-(?P<ar>\w+(\.\w+)*)
\.whl$
u7
(?P<nm>[^-]+)
-(?P<vn>\d+[^-]*)
(-(?P<bn>\d+[^-]*))?$
s
\s*#![^\r\n]*s^(\s*#!("[^"]+"|\S+))\s+(.*)$s#!pythons	#!pythonwu/cCs|S(N((to((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyt<lambda>^tcCs|jtjd�S(Nu/(treplacetostsep(R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyR `R!tMountercBs8eZd�Zd�Zd�Zdd�Zd�ZRS(cCsi|_i|_dS(N(t
impure_wheelstlibs(tself((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyt__init__ds	cCs!||j|<|jj|�dS(N(R&R'tupdate(R(tpathnamet
extensions((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytaddhs
cCsI|jj|�}x0|D](\}}||jkr|j|=qqWdS(N(R&tpopR'(R(R+R,tktv((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytremovelscCs"||jkr|}nd}|S(N(R'tNone(R(tfullnametpathtresult((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytfind_modulers	cCs�|tjkrtj|}nx||jkrAtd|��ntj||j|�}||_|jdd�}t|�dkr�|d|_	n|S(Nuunable to find extension for %su.ii(
tsystmodulesR'tImportErrortimptload_dynamict
__loader__trsplittlent__package__(R(R3R5R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytload_moduleys	N(t__name__t
__module__R)R-R1R2R6R@(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyR%cs
			tWheelcBseZdZdZdZdeed�Zed��Z	ed��Z
ed��Zed��Z
d�Zed	��Zd
�Zdd�Zd�Zd
�Zd�Zddd�Zd�Zd�Zd�Zd�Zd�Zd�Zed�Zd�Zd�Zdd�ZRS(u@
    Class to build and install from Wheel files (PEP 427).
    iusha256cCs�||_||_d|_tg|_dg|_dg|_tj�|_	|dkr{d|_d|_|j
|_nEtj|�}|r�|jd�}|d|_|djdd	�|_|d
|_|j
|_n�tjj|�\}}tj|�}|s!td|��n|r?tjj|�|_	n||_|jd�}|d|_|d|_|d
|_|djd
�|_|djd
�|_|djd
�|_dS(uB
        Initialise an instance using a (valid) filename.
        uunoneuanyudummyu0.1unmuvnu_u-ubnuInvalid name or filename: %rupyu.ubiuarN(tsignt
should_verifytbuildvertPYVERtpyvertabitarchR#tgetcwdtdirnameR2tnametversiontfilenamet	_filenametNAME_VERSION_REtmatcht	groupdictR"R4tsplittFILENAME_RERtabspath(R(RORDtverifytmtinfoRL((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyR)�sB					


	


cCs�|jrd|j}nd}dj|j�}dj|j�}dj|j�}|jjdd�}d|j|||||fS(uJ
        Build and return a filename from the various components.
        u-uu.u_u%s-%s%s-%s-%s-%s.whl(RFRRHRIRJRNR"RM(R(RFRHRIRJRN((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyRO�s	cCs+tjj|j|j�}tjj|�S(N(R#R4RRLROtisfile(R(R4((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytexists�sccsNxG|jD]<}x3|jD](}x|jD]}|||fVq*WqWq
WdS(N(RHRIRJ(R(RHRIRJ((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyttags�scCs\tjj|j|j�}d|j|jf}d|}tjd�}t	|d���}|j
|�}|djdd�}tg|D]}t
|�^q��}	ttg}
d}xu|
D]m}yStj||�}
|j|
��,}||�}td|�}|rPnWdQXWq�tk
r+q�Xq�W|sRtd	d
j|
���nWdQX|S(Nu%s-%su%s.dist-infouutf-8uru
Wheel-Versionu.itfileobju8Invalid wheel, because metadata is missing: looked in %su, (R#R4RRLRORMRNtcodecst	getreaderRtget_wheel_metadataRTttupletintRR
R2t	posixpathtopenR
tKeyErrort
ValueError(R(R+tname_vertinfo_dirtwrappertzftwheel_metadatatwvtitfile_versiontfnsR5tfntmetadata_filenametbftwf((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytmetadata�s0
%

cCsud|j|jf}d|}tj|d�}|j|��(}tjd�|�}t|�}WdQXt|�S(Nu%s-%su%s.dist-infouWHEELuutf-8(	RMRNRcRRdR^R_Rtdict(R(RjRgRhRqRrRstmessage((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyR`�s
cCsFtjj|j|j�}t|d��}|j|�}WdQX|S(Nur(R#R4RRLRORR`(R(R+RjR5((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyRYscCstj|�}|r�|j�}|| ||}}d|j�krQt}nt}tj|�}|r�d|j�d}nd}||}||}ns|jd�}|jd�}	|dks�||	kr�d}
n&|||d!d	kr�d	}
nd}
t|
|}|S(
Ntpythonwt i����R!s
s
iis
(	t
SHEBANG_RERRtendtlowertSHEBANG_PYTHONWtSHEBANG_PYTHONtSHEBANG_DETAIL_REtgroupstfind(R(tdataRXRztshebangtdata_after_shebangtshebang_pythontargstcrtlftterm((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytprocess_shebangs,	

		cCs�|dkr|j}nytt|�}Wn!tk
rNtd|��nX||�j�}tj|�j	d�j
d�}||fS(NuUnsupported hash algorithm: %rt=uascii(R2t	hash_kindtgetattrthashlibtAttributeErrorRtdigesttbase64turlsafe_b64encodetrstriptdecode(R(R�R�thasherR5((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytget_hash%s
!cCstt|�}ttjj||��}|j|ddf�t|��%}x|D]}|j|�qSWWdQXdS(Nu(tlisttto_posixR#R4trelpathRRtwriterow(R(trecordstrecord_pathtbasetptwritertrow((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytwrite_record0s
cCs�g}|\}}tt|j�}xs|D]k\}}	t|	d��}
|
j�}WdQXd|j|�}tjj|	�}
|j	|||
f�q+Wtjj
|d�}	|j||	|�ttjj
|d��}|j	||	f�dS(Nurbu%s=%suRECORD(
R�R�R�RdtreadR�R#R4tgetsizeRRR�R�(R(RYtlibdirt
archive_pathsR�tdistinfoRhR�tapR�tfR�R�tsize((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyt
write_records8sc	Cs\t|dtj��A}x7|D]/\}}tjd||�|j||�qWWdQXdS(NuwuWrote %s to %s in wheel(RtzipfiletZIP_DEFLATEDtloggertdebugtwrite(R(R+R�RjR�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyt	build_zipHsc"
s
|dkri}ntt�fd�d&��d}|dkrgd}tg}tg}tg}n!d}tg}dg}dg}|jd	|�|_|jd
|�|_	|jd|�|_
�|}	d|j|jf}
d
|
}d|
}g}
xKd'D]C}|�kr qn�|}t
jj|�rxt
j|�D]�\}}}x�|D]�}tt
jj||��}t
jj||�}tt
jj|||��}|
j||f�|dkrb|jd�rbt|d��}|j�}WdQX|j|�}t|d��}|j|�WdQXqbqbWqLWqqW|	}d}xt
j|�D]�\}}}||kr�xUt|�D]G\}}t|�}|jd�r�t
jj||�}||=Pq�q�W|s�td��nxl|D]d}t|�jd(�rq�nt
jj||�}tt
jj||��}|
j||f�q�WqkWt
j|�}xf|D]^}|d)kr|tt
jj||��}tt
jj||��}|
j||f�q|q|Wd|p�|jdtd |g}x4|j D])\}}}|jd!|||f�qWt
jj|d�}t|d"��}|jd#j|��WdQXtt
jj|d��}|
j||f�d$�} t!|
d%| �}
|j"||f|	|
�t
jj|j#|j$�}!|j%|!|
�|!S(*u�
        Build a wheel from files in specified paths, and use any specified tags
        when determining the name of the wheel.
        cs
|�kS(N((R(tpaths(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyR VR!upurelibuplatlibiufalseutrueunoneuanyupyveruabiuarchu%s-%su%s.datau%s.dist-infoudatauheadersuscriptsu.exeurbNuwbu
.dist-infou(.dist-info directory expected, not foundu.pycu.pyouRECORDu	INSTALLERuSHAREDuWHEELuWheel-Version: %d.%duGenerator: distlib %suRoot-Is-Purelib: %su
Tag: %s-%s-%suwu
cSs<|d}|jd�}d|kr2|d7}n||fS(Niu/u
.dist-infoi'(tcount(ttR�tn((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytsorter�s


tkey(upurelibuplatlib(udatauheadersuscripts(u.pycu.pyo(uRECORDu	INSTALLERuSHAREDuWHEEL(&R2R�RtIMPVERtABItARCHRGtgetRHRIRJRMRNR#R4tisdirtwalkRRR�R�RtendswithRdR�R�R�t	enumeratetAssertionErrortlistdirt
wheel_versionRR\tsortedR�RLROR�("R(R�R\R�tlibkeytis_puret
default_pyvertdefault_abitdefault_archR�Rgtdata_dirRhR�R�R4troottdirstfilesRpR�trpR�R�R�R�RmtdnRkRHRIRJR�R+((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytbuildNs�	"					





%


	cCs
|jd�S(ul
        Determine whether an archive entry should be skipped when verifying
        or installing.
        u/u/RECORD.jws(u/u/RECORD.jws(R�(R(tarcname((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyt
skip_entry�scDKs�	|j}|jd�}|jdt�}|jdt�}tjj|j|j�}d|j|j	f}	d|	}
d|	}t
j|t�}t
j|d�}
t
j|d�}tj
d	�}t|d
���}|j|
��}||�}t|�}WdQX|djd
d�}tg|D]}t|�^q(�}||jkrk|rk||j|�n|ddkr�|d}n
|d}i}|j|��D}td|��,}x"|D]}|d}|||<q�WWdQXWdQXt
j|
d�}t
j|d�}t
j|
dd�}td|�} t| _tj}!g}"tj�}#|#|_d|_z9yx�|j �D]�}$|$j}%t!|%t"�r�|%}&n|%j#d	�}&|j$|&�r�qn||&}|dr
t%|$j&�|dkr
t'd|&��n|dr�|djdd�\}'}(|j|%��}|j(�})WdQX|j)|)|'�\}*}+|+|(kr�t'd|%��q�n|r�|&j*||f�r�t+j,d|&�qn|&j*|�o�|&j-d�},|&j*|�r*|&jdd�\}*}-}.tjj||-t.|.��}/n3|&|
|fkrBqntjj|t.|&��}/|,so|j|%��}| j/||/�WdQX|"j0|/�|r|drt|/d��J}|j(�})|j)|)|'�\}*}0|0|+kr�t'd |/��nWdQXn|!r|/j-d!�ry&| j1|/d"|�}1|"j0|1�Wqlt2k
rht+j3d#d$t�qlXqqtjj4t.|%��}2tjj|#|2�}3|j|%��}| j/||3�WdQXtjj|/�\}4}2|4|_|j5|2�}5| j6|5�|"j7|5�qW|r.t+j,d%�d}6nCd}7|j8d}|d&krQt
j|d'�}8y�|j|8��}t9|�}9WdQXi}7x�d:D]�}:d*|:};|;|9kr�i|7d+|:<}<xd|9|;j:�D]O}=d,|=j;|=j<f}>|=j=r|>d-d.j|=j=�7}>n|>|<|=j<q�Wq�q�WWq�t2k
rMt+j3d/�q�XnyyX|j|��C}||�}t>j?|�jd0�}7|7r�|7jd1�}7nWdQXWnt2k
r�t+j3d2�nX|7r�|7jd3i�}?|7jd4i�}@|?s|@r�|jdd�}Atjj@|A�s3tAd5��n|A|_xF|?jB�D]8\};}=d6|;|=f}B|j5|B�}5| j6|5�qIW|@r�itd)6}CxL|@jB�D];\};}=d6|;|=f}B|j5|B|C�}5| j6|5�q�Wq�q�ntjj||�}tC|�}6tD|�}|d=|d=||d7<|6jE||�}|rZ	|"j0|�n|6jF|"|d8|�|6SWn+t2k
r�	t+jGd9�| jH��nXWdtIjJ|#�XWdQXdS(;u~
        Install a wheel to the specified paths. If kwarg ``warner`` is
        specified, it should be a callable, which will be called with two
        tuples indicating the wheel version of this software and the wheel
        version in the file, if there is a discrepancy in the versions.
        This can be used to issue any warnings to raise any exceptions.
        If kwarg ``lib_only`` is True, only the purelib/platlib files are
        installed, and the headers, scripts, data and dist-info metadata are
        not written. If kwarg ``bytecode_hashed_invalidation`` is True, written
        bytecode will try to use file-hash based invalidation (PEP-552) on
        supported interpreter versions (CPython 2.7+).

        The return value is a :class:`InstalledDistribution` instance unless
        ``options.lib_only`` is True, in which case the return value is ``None``.
        uwarnerulib_onlyubytecode_hashed_invalidationu%s-%su%s.datau%s.dist-infouWHEELuRECORDuutf-8urNu
Wheel-Versionu.iuRoot-Is-Purelibutrueupurelibuplatlibtstreamiuuscriptstdry_runiusize mismatch for %su=udigest mismatch for %sulib_only: skipping %su.exeu/urbudigest mismatch on write for %su.pythashed_invalidationuByte-compilation failedtexc_infoulib_only: returning Noneu1.0uentry_points.txtuconsoleuguiu
%s_scriptsuwrap_%su%s:%su [%s]u,uAUnable to read legacy script metadata, so cannot generate scriptsu
extensionsupython.commandsu8Unable to read JSON metadata, so cannot generate scriptsuwrap_consoleuwrap_guiuValid script path not specifiedu%s = %sulibuprefixuinstallation failed.(uconsoleugui(KR�R�tFalseR#R4RRLRORMRNRcR
R^R_RRdRRTRaRbR�RRtTruetrecordR7tdont_write_bytecodettempfiletmkdtempt
source_dirR2t
target_dirtinfolistt
isinstanceRR�R�tstrt	file_sizeRR�R�t
startswithR�R�R�Rtcopy_streamRtbyte_compilet	Exceptiontwarningtbasenametmaketset_executable_modetextendRYRtvaluestprefixtsuffixtflagstjsontloadR�RftitemsR	Rutwrite_shared_locationstwrite_installed_filest	exceptiontrollbacktshutiltrmtree(DR(R�tmakertkwargsR�twarnertlib_onlytbc_hashed_invalidationR+RgR�Rht
metadata_nametwheel_metadata_nametrecord_nameRiRjtbwfRsRvRlRmRnR�R�RrtreaderR�R�tdata_pfxtinfo_pfxt
script_pfxtfileoptbctoutfilestworkdirtzinfoR�t	u_arcnametkindtvalueR�t_R�t	is_scripttwhereR�toutfilet	newdigesttpycRptworknameR�t	filenamestdisttcommandsteptepdataR�R/tdR0tstconsole_scriptstgui_scriptst
script_dirtscripttoptions((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytinstall�sH	

%



	
				
#

"
	
	

	


	

	




cCsKtdkrGtjjt�td�dtjd �}t	|�antS(Nudylib-cacheu%s.%si(
tcacheR2R#R4RRR�R7tversion_infoR(R(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyt_get_dylib_cache�s
c
Cs�tjj|j|j�}d|j|jf}d|}tj|d�}tj	d�}g}t
|d��w}y\|j|��G}||�}	tj
|	�}
|j�}|j|�}tjj|j|�}
tjj|
�s�tj|
�nx�|
j�D]�\}}tjj|
t|��}tjj|�sHt}nQtj|�j}tjj|�}|j|�}tj|j�}||k}|r�|j||
�n|j||f�qWWdQXWntk
r�nXWdQX|S(Nu%s-%su%s.dist-infou
EXTENSIONSuutf-8ur( R#R4RRLRORMRNRcR^R_RRdR�R�R!t
prefix_to_dirR�R�tmakedirsR�RR[R�tstattst_mtimetdatetimet
fromtimestamptgetinfot	date_timetextractRRe(R(R+RgRhR�RiR5RjRrRsR,RR�t
cache_baseRMR�tdestR*t	file_timeRYt
wheel_time((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyt_get_extensions�s>
	!

cCs
t|�S(uM
        Determine if a wheel is compatible with the running system.
        (t
is_compatible(R(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyR0�scCstS(uP
        Determine if a wheel is asserted as mountable by its metadata.
        (R�(R(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytis_mountable�scCs
tjjtjj|j|j��}|j�sLd|}t|��n|j�sqd|}t|��n|t	jkr�t
jd|�ns|r�t	jj|�nt	jj
d|�|j�}|rtt	jkr�t	jjt�ntj||�ndS(Nu)Wheel %s not compatible with this Python.u$Wheel %s is marked as not mountable.u%s already in pathi(R#R4RVRRLROR0RR1R7R�R�RtinsertR/t_hookt	meta_pathR-(R(RR+tmsgR,((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytmount�s"'

cCs�tjjtjj|j|j��}|tjkrItjd|�n]tjj	|�|t
jkrxt
j	|�nt
js�t
tjkr�tjj	t
�q�ndS(Nu%s not in path(
R#R4RVRRLROR7R�R�R1R3R&R4(R(R+((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytunmounts'	cCs�tjj|j|j�}d|j|jf}d|}d|}tj|t�}tj|d�}tj|d�}t	j
d�}t|d��}	|	j|��}
||
�}t
|�}WdQX|djd	d
�}
tg|
D]}t|�^q��}i}|	j|��D}td|��,}x"|D]}|d}|||<q8WWdQXWdQXxK|	j�D]=}|j}t|t�r�|}n|jd�}|jd
�}d|kr�td|��n|j|�r�qon||}|dr(t|j�|dkr(td|��n|d
ro|d
jdd
�\}}|	j|��}|j�}WdQX|j||�\}}||kr�td|��q�qoqoWWdQXdS(Nu%s-%su%s.datau%s.dist-infouWHEELuRECORDuutf-8uru
Wheel-Versionu.iR�iu/u..uinvalid entry in wheel: %riusize mismatch for %su=udigest mismatch for %s(R#R4RRLRORMRNRcR
R^R_RRdRRTRaRbRR�R�RR�RR�R�R�R�R�(R(R+RgR�RhR�R�R�RiRjR�RsRvRlRmRnR�RrR�R�R�RR�RR	R
R�RR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyRWsV

%

		

#

c
Ks�d�}d�}tjj|j|j�}d|j|jf}d|}tj|d�}	t��(}
t	|d���}i}x�|j
�D]�}
|
j}t|t�r�|}n|j
d�}||	kr�q�nd|kr�td	|��n|j|
|
�tjj|
t|��}|||<q�WWd
QX|||�\}}|||�}|r�|||�\}}|r�||kr�|||�n|d
kr�tjddd
dd|
�\}}tj|�n=tjj|�s�td|��ntjj||j�}t|j��}tjj|
|�}||f}|j||
|�|j||�|d
kr�tj||�q�nWd
QX|S(u�
        Update the contents of a wheel in a generic way. The modifier should
        be a callable which expects a dictionary argument: its keys are
        archive-entry paths, and its values are absolute filesystem paths
        where the contents the corresponding archive entries can be found. The
        modifier is free to change the contents of the files pointed to, add
        new entries and remove entries, before returning. This method will
        extract the entire contents of the wheel to a temporary location, call
        the modifier, and then use the passed (and possibly updated)
        dictionary to write a new wheel. If ``dest_dir`` is specified, the new
        wheel is written there -- otherwise, the original wheel is overwritten.

        The modifier should return True if it updated the wheel, else False.
        This method returns the same value the modifier returns.
        cSshd}}d|tf}||kr3d|}n||kr^||}td|�j}n||fS(Nu%s/%su%s/PKG-INFOR4(R2R
R
RN(tpath_mapRhRNR4R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytget_versionYs


c	Ss&d}y�t|�}|jd�}|dkr=d|}ngg||djd�D]}t|�^qU}|dcd7<d|| djd�|D��f}Wn!tk
r�tjd	|�nX|r"t	d
|�}||_
|jt�}|j
d
|d|�tjd||�ndS(
Nu-iu%s+1iu.i����u%s+%scss|]}t|�VqdS(N(R�(t.0Rm((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pys	<genexpr>nsu0Cannot update non-compliant (PEP-440) version %rR4tlegacyuVersion updated from %r to %r(R2RR�RTRbRRR�R�R
RNR�R
R�(	RNR4tupdatedR0RmRRtmdR;((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytupdate_versioncs(
0
!
		u%s-%su%s.dist-infouRECORDuruutf-8u..uinvalid entry in wheel: %rNR�u.whlR�u
wheel-update-tdiruNot a directory: %r(R#R4RRLRORMRNRcRRR�R�RR�RR*RR2R�tmkstemptcloseR�R�R�R�R�R�tcopyfile(R(tmodifiertdest_dirR�R9R>R+RgRhR�RRjR8RR�RR4toriginal_versionRtmodifiedtcurrent_versiontfdtnewpathR�R�RY((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyR*HsX	
	
		
(iiN( RARBt__doc__R�R�R2R�R)tpropertyROR[R\RRtR`RYR�R�R�R�R�R�R�RR!R/R0R1R6R7RWR*(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyRC�s4) 						t		�			"				8cCs�tg}td}xGttjdddd�D](}|jdj|t|�g��q1Wg}xLtj�D]>\}}}|j	d�rp|j|j
dd�d�qpqpW|j�tdkr�|j
dt�n|jd�g}tg}tjd	kr=tjd
t�}|r=|j�\}	}}}
t|�}|
g}|
dkrg|jd
�n|
dkr�|jd�n|
dkr�|jd�n|
dkr�|jd�n|
dkr�|jd�nx`|dkr6x@|D]8}d|	|||f}
|
tkr�|j|
�q�q�W|d8}q�Wq=nxH|D]@}x7|D]/}
|jdjt|df�||
f�qQWqDWxwt|�D]i\}}|jdjt|f�ddf�|dkr�|jdjt|df�ddf�q�q�Wxwt|�D]i\}}|jdjd|f�ddf�|dkr|jdjd|df�ddf�qqWt|�S(uG
    Return (pyver, abi, arch) tuples compatible with this Python.
    iii����uu.abiu.iunoneudarwinu(\w+)_(\d+)_(\d+)_(\w+)$ui386uppcufatux86_64ufat3uppc64ufat64uintelu	universalu%s_%s_%s_%suanyupy(ui386uppc(ui386uppcux86_64(uppc64ux86_64(ui386ux86_64(ui386ux86_64uinteluppcuppc64(RtrangeR7R RRR�R:tget_suffixesR�RTtsortR�R2R�tplatformtreRRRRbt
IMP_PREFIXR�tset(tversionstmajortminortabisR�RR5tarchesRXRMRJtmatchesRRRRIRmRN((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pytcompatible_tags�s`	
$&$

		


1%0%0cCs�t|t�st|�}nt}|dkr9t}nxN|D]F\}}}||jkr@||jkr@||jkr@t}Pq@q@W|S(N(	R�RCR�R2tCOMPATIBLE_TAGSRHRIRJR�(twheelR\R5tverRIRJ((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyR0�s	-(Vt
__future__RR�R^R&tdistutils.utilt	distutilstemailRR�R:R�tloggingR#RcRPR�R7R�R�R!RRtcompatRRRRRtdatabaseR	RtR
RRR
tutilRRRRRRRRRRNRRt	getLoggerRAR�R2RthasattrRQROR�RRR RGR�tget_platformR"R�R�Rtcompilet
IGNORECASEtVERBOSERURQRyR~R}R|R$R�tobjectR%R3RCRYRZR0(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/wheel.pyt<module>s�("@			

'				#	���'	>	

Zerion Mini Shell 1.0