AlkantarClanX12

Your IP : 3.148.108.144


Current Path : /usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/
Upload File :
Current File : //usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyc

�
�fc@`suddlmZmZmZddlZddlZddlZddlZddlm	Z	m
Z
mZmZddlm
Z
mZmZmZddlmZddlmZddlmZmZd	d
ddd
gZd	efd��YZd
efd��YZdefd��YZdefd��YZdefd��YZdefd��YZ defd��YZ!ed�ed�Bed�Bed�Bed�Bed�Bed�Bed �Bed!�Bed"�Bed#�Bed$�Bed%�Bed&�Bed'�Bed(�Bed)�Bed*�BZ"id#d$6d"d%6dd&6dd'6dd(6dd)6Z#e"j$d+��ed,�ed-�Bed.�Bed/�Bed0�Bed1�Bed2�Bed3�BZ%e%ed4�Bed5�BZ&e&j$d6��ed7�ed8�BZ'e'j$d9��ed:�ed;�BZ(e"e'BZ)ee)e&e)�Z*e*j$d<��ed=�j+�Z,ed>�j+�Z-e�Z.e*ee,e.e-�BZ/e.e/e
e(e.�>ee.eZ0d?�Z1e2d@�Z3idA�d56dB�d46ej4d36ej5d/6ej6d-6ej7d06ej8d.6ej9d26Z:dC�Z;e�Z<dD�Z=dE�Z>dF�Z?dG�Z@defdH��YZAdS(Ii(tabsolute_importtdivisiontprint_functionN(tParseExceptiontParseResultststringStartt	stringEnd(t
ZeroOrMoretGrouptForwardtQuotedString(tLiterali(tstring_types(t	SpecifiertInvalidSpecifiert
InvalidMarkertUndefinedComparisontUndefinedEnvironmentNametMarkertdefault_environmentcB`seZdZRS(sE
    An invalid marker was found, users should refer to PEP 508.
    (t__name__t
__module__t__doc__(((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyRscB`seZdZRS(sP
    An invalid operation was attempted on a value that doesn't support it.
    (RRR(((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyRscB`seZdZRS(s\
    A name was attempted to be used that does not exist inside of the
    environment.
    (RRR(((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR%stNodecB`s,eZd�Zd�Zd�Zd�ZRS(cC`s
||_dS(N(tvalue(tselfR((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyt__init__.scC`s
t|j�S(N(tstrR(R((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyt__str__1scC`sdj|jjt|��S(Ns<{0}({1!r})>(tformatt	__class__RR(R((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyt__repr__4scC`s
t�dS(N(tNotImplementedError(R((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyt	serialize7s(RRRRRR!(((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR,s			tVariablecB`seZd�ZRS(cC`s
t|�S(N(R(R((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR!=s(RRR!(((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR";stValuecB`seZd�ZRS(cC`s
dj|�S(Ns"{0}"(R(R((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR!Cs(RRR!(((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR#AstOpcB`seZd�ZRS(cC`s
t|�S(N(R(R((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR!Is(RRR!(((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR$Gstimplementation_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((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyt<lambda>its===s==s>=s<=s!=s~=t>t<snot intincC`st|d�S(Ni(R$(R4R5R6((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR7wR8t't"cC`st|d�S(Ni(R#(R4R5R6((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR7zR8tandtorcC`st|d�S(Ni(ttuple(R4R5R6((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR7�R8t(t)cC`s4t|t�r,g|D]}t|�^qS|SdS(N(t
isinstanceRt_coerce_parse_result(tresultsti((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyRD�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((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pys	<genexpr>�st RARB(	RCtlistR@RtAssertionErrortlenRHtjoinR!(tmarkerRGtinnerRK((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyRH�s!
&cC`s
||kS(N((tlhstrhs((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR7�R8cC`s
||kS(N((RSRT((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyR7�R8cC`s�y%tdj|j�|g��}Wntk
r8nX|j|�Stj|j��}|dkr�tdj	|||���n|||�S(NR8s#Undefined {0!r} on {1!r} and {2!r}.(
R
RPR!Rtcontainst
_operatorsR3tNoneRR(RStopRTtspectoper((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyt_eval_op�s%

cC`s:|j|t�}|tkr6tdj|���n|S(Ns/{0!r} does not exist in evaluation environment.(R3t
_undefinedRR(tenvironmenttnameR((sH/usr/lib/python2.7/site-packages/setuptools/_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����R>R?cs`s|]}t|�VqdS(N(tall(RJtitem((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pys	<genexpr>�s(R>R?(RCRMR@RRNtappendt_evaluate_markersR"R_RR[tany(	tmarkersR]tgroupsRQRSRXRTt	lhs_valuet	rhs_value((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyRc�s"	
	 cC`sFdj|�}|j}|dkrB||dt|j�7}n|S(Ns{0.major}.{0.minor}.{0.micro}tfinali(RtreleaselevelRtserial(tinfotversiontkind((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pytformat_full_version�s
	cC`s�ttd�r0ttjj�}tjj}nd}d}i|d6|d6tjd6tj�d6tj	�d6tj
�d	6tj�d
6tj�d6tj�d6tj�d
 d6tjd6S(Ntimplementationt0R8R'R%R/R+R)R,R*R(R&iR-R.(
thasattrtsysRoRpRmR^tostplatformtmachinetreleasetsystemR-R0(tiverR'((sH/usr/lib/python2.7/site-packages/setuptools/_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(RDtMARKERtparseStringt_markersRRtlocR(RRQteterr_str((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyRscC`s
t|j�S(N(RHR|(R((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyRscC`sdjt|��S(Ns<Marker({0!r})>(RR(R((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyRscC`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(RRWtupdateRcR|(RR]tcurrent_environment((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pytevaluate s		N(RRRRRRWR�(((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyRs			(Bt
__future__RRRtoperatorRtRuRstsetuptools.extern.pyparsingRRRRRRR	R
RtLt_compatRt
specifiersR
Rt__all__t
ValueErrorRRRtobjectRR"R#R$tVARIABLER2tsetParseActiontVERSION_CMPt	MARKER_OPtMARKER_VALUEtBOOLOPt
MARKER_VARtMARKER_ITEMtsuppresstLPARENtRPARENtMARKER_EXPRtMARKER_ATOMRzRDtTrueRHtlttleteqtnetgetgtRVR[R\R_RcRoRR(((sH/usr/lib/python2.7/site-packages/setuptools/_vendor/packaging/markers.pyt<module>s|""	�

	E