ok

Mini Shell

Direktori : /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/
Upload File :
Current File : //opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyc

�
Bu�_c@`s�ddlmZmZmZddlZddlZddlZddlZddlm	Z	m
Z
mZmZddlm
Z
mZmZmZddlmZddlmZddlmZdd	lmZmZer)dd
lmZmZmZmZmZm Z m!Z!ee"e"ge#fZ$nddd
ddgZ%de&fd��YZ'de&fd��YZ(d
e&fd��YZ)de*fd��YZ+de+fd��YZ,de+fd��YZ-de+fd��YZ.ed�ed�Bed�Bed�Bed�Bed �Bed!�Bed"�Bed#�Bed$�Bed%�Bed&�Bed'�Bed(�Bed)�Bed*�Bed+�Bed,�BZ/id%d&6d$d'6d d(6d!d)6dd*6dd+6Z0e/j1d-��ed.�ed/�Bed0�Bed1�Bed2�Bed3�Bed4�Bed5�BZ2e2ed6�Bed7�BZ3e3j1d8��ed9�ed:�BZ4e4j1d;��ed<�ed=�BZ5e/e4BZ6ee6e3e6�Z7e7j1d>��ed?�j8�Z9ed@�j8�Z:e�Z;e7ee9e;e:�BZ<e;e<e
e5e;�>ee;eZ=dA�Z>e?dB�Z@idC�d76dD�d66ejAd56ejBd16ejCd/6ejDd26ejEd06ejFd46ZGdE�ZHdFe*fdG��YZIeI�ZJdH�ZKdI�ZLdJ�ZMdK�ZNde*fdL��YZOdS(Mi(tabsolute_importtdivisiontprint_functionN(tParseExceptiontParseResultststringStartt	stringEnd(t
ZeroOrMoretGrouptForwardtQuotedString(tLiterali(tstring_types(t
TYPE_CHECKING(t	SpecifiertInvalidSpecifier(tAnytCallabletDicttListtOptionaltTupletUniont
InvalidMarkertUndefinedComparisontUndefinedEnvironmentNametMarkertdefault_environmentcB`seZdZRS(sE
    An invalid marker was found, users should refer to PEP 508.
    (t__name__t
__module__t__doc__(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR"scB`seZdZRS(sP
    An invalid operation was attempted on a value that doesn't support it.
    (RRR(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR(scB`seZdZRS(s\
    A name was attempted to be used that does not exist inside of the
    environment.
    (RRR(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR.stNodecB`s,eZd�Zd�Zd�Zd�ZRS(cC`s
||_dS(N(tvalue(tselfR ((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyt__init__6scC`s
t|j�S(N(tstrR (R!((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyt__str__:scC`sdj|jjt|��S(Ns<{0}({1!r})>(tformatt	__class__RR#(R!((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyt__repr__>scC`s
t�dS(N(tNotImplementedError(R!((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyt	serializeBs(RRR"R$R'R)(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR5s			tVariablecB`seZd�ZRS(cC`s
t|�S(N(R#(R!((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR)Hs(RRR)(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR*GstValuecB`seZd�ZRS(cC`s
dj|�S(Ns"{0}"(R%(R!((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR)Ns(RRR)(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR+MstOpcB`seZd�ZRS(cC`s
t|�S(N(R#(R!((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR)Ts(RRR)(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR,Sstimplementation_versiontplatform_python_implementationtimplementation_nametpython_full_versiontplatform_releasetplatform_versiontplatform_machinetplatform_systemtpython_versiontsys_platformtos_namesos.namessys.platformsplatform.versionsplatform.machinesplatform.python_implementationtpython_implementationtextracC`sttj|d|d��S(Ni(R*tALIASEStget(tstltt((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyt<lambda>uss===s==s>=s<=s!=s~=t>t<snot intincC`st|d�S(Ni(R,(R<R=R>((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR?|st't"cC`st|d�S(Ni(R+(R<R=R>((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR?standtorcC`st|d�S(Ni(ttuple(R<R=R>((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR?�st(t)cC`s4t|t�r,g|D]}t|�^qS|SdS(N(t
isinstanceRt_coerce_parse_result(tresultsti((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyRK�scC`s�t|tttf�st�t|t�rft|�dkrft|dttf�rft|d�St|t�r�d�|D�}|r�dj|�Sddj|�dSn9t|t�r�djg|D]}|j�^q��S|SdS(Niics`s!|]}t|dt�VqdS(tfirstN(t_format_markertFalse(t.0tm((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pys	<genexpr>�st RHRI(	RJtlistRGRtAssertionErrortlenROtjoinR)(tmarkerRNtinnerRR((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyRO�s
&cC`s
||kS(N((tlhstrhs((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR?�scC`s
||kS(N((RZR[((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR?�scC`s�y%tdj|j�|g��}Wntk
r8nX|j|�Stj|j��}|dkr�tdj	|||���n|||�S(Nts#Undefined {0!r} on {1!r} and {2!r}.(
RRWR)Rtcontainst
_operatorsR;tNoneRR%(RZtopR[tspectoper((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyt_eval_op�s%

t	UndefinedcB`seZRS((RR(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyRd�scC`s=|j|t�}t|t�r9tdj|���n|S(Ns/{0!r} does not exist in evaluation environment.(R;t
_undefinedRJRdRR%(tenvironmenttnameR ((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyt_get_env�s
c	C`s,gg}x|D]}t|tttf�s4t�t|t�r`|djt||��qt|t�r�|\}}}t|t�r�t||j	�}|j	}n|j	}t||j	�}|djt
|||��q|dks�t�|dkr|jg�qqWtd�|D��S(Ni����RERFcs`s|]}t|�VqdS(N(tall(RQtitem((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pys	<genexpr>s(REsor(RJRTRGRRUtappendt_evaluate_markersR*RhR Rctany(	tmarkersRftgroupsRXRZR`R[t	lhs_valuet	rhs_value((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyRl�s"	
	 cC`sFdj|�}|j}|dkrB||dt|j�7}n|S(Ns{0.major}.{0.minor}.{0.micro}tfinali(R%treleaselevelR#tserial(tinfotversiontkind((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pytformat_full_versions
	cC`s�ttd�r0ttjj�}tjj}nd}d}i|d6|d6tjd6tj�d6tj	�d6tj
�d	6tj�d
6tj�d6tj�d6d
j
tj�d �d6tjd6S(Ntimplementationt0R\R/R-R7R3R1R4R2R0R.t.iR5R6(thasattrtsysRxRyRvRgtostplatformtmachinetreleasetsystemR5R8RWtpython_version_tuple(tiverR/((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyRs"






cB`s/eZd�Zd�Zd�Zdd�ZRS(cC`seyttj|��|_WnBtk
r`}dj|||j|jd!�}t|��nXdS(Ns+Invalid marker: {0!r}, parse error at {1!r}i(RKtMARKERtparseStringt_markersRR%tlocR(R!RXteterr_str((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR"(scC`s
t|j�S(N(ROR�(R!((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR$2scC`sdjt|��S(Ns<Marker({0!r})>(R%R#(R!((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR'6scC`s5t�}|dk	r%|j|�nt|j|�S(s$Evaluate a marker.

        Return the boolean from evaluating the given marker against the
        environment. environment is an optional argument to override all or
        part of the determined environment.

        The environment is determined from the current Python process.
        N(RR_tupdateRlR�(R!Rftcurrent_environment((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pytevaluate:s
	N(RRR"R$R'R_R�(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyR's	
		(Pt
__future__RRRtoperatorR~RR}tpip._vendor.pyparsingRRRRRRR	R
RtLt_compatRt_typingR
t
specifiersRRttypingRRRRRRRR#tbooltOperatort__all__t
ValueErrorRRRtobjectRR*R+R,tVARIABLER:tsetParseActiontVERSION_CMPt	MARKER_OPtMARKER_VALUEtBOOLOPt
MARKER_VARtMARKER_ITEMtsuppresstLPARENtRPARENtMARKER_EXPRtMARKER_ATOMR�RKtTrueROtlttleteqtnetgetgtR^RcRdReRhRlRxRR(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/markers.pyt<module>s�""4	�
R
		







							

Zerion Mini Shell 1.0