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/version.pyo

�
Bu�_c	@`s�ddlmZmZmZddlZddlZddlZddlmZm	Z	ddl
mZer�ddlm
Z
mZmZmZmZmZmZddlmZmZeeefZeeeeeffZeeeefZeeeeeeeefeeeffdffZeeeedfeeeefZeeeedffZe
eeefeeefgefZnd	d
ddd
gZ ej!dddddddg�Z"d�Z#de$fd��YZ%de&fd��YZ'de'fd��YZ(ej)dej*�Z+idd6dd6dd6dd6d d6Z,d!�Z-d"�Z.d#Z/d
e'fd$��YZ0d%�Z1ej)d&�Z2d'�Z3d(�Z4dS()i(tabsolute_importtdivisiontprint_functionNi(tInfinitytNegativeInfinity(t
TYPE_CHECKING(tCallabletIteratortListtOptionaltSupportsInttTupletUnion(tInfinityTypetNegativeInfinityType.tparsetVersiont
LegacyVersiontInvalidVersiontVERSION_PATTERNt_VersiontepochtreleasetdevtpretposttlocalcC`s-yt|�SWntk
r(t|�SXdS(s�
    Parse the given version string and return either a :class:`Version` object
    or a :class:`LegacyVersion` object depending on if the given version is
    a valid PEP 440 version or a legacy version.
    N(RRR(tversion((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR0s
cB`seZdZRS(sF
    An invalid version was found, users should refer to PEP 440.
    (t__name__t
__module__t__doc__(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR=st_BaseVersioncB`sVeZdZd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�ZRS(	cC`s
t|j�S(N(thasht_key(tself((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt__hash__FscC`s|j|d��S(NcS`s
||kS(N((tsto((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt<lambda>Ls(t_compare(R"tother((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt__lt__JscC`s|j|d��S(NcS`s
||kS(N((R$R%((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR&Ps(R'(R"R(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt__le__NscC`s|j|d��S(NcS`s
||kS(N((R$R%((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR&Ts(R'(R"R(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt__eq__RscC`s|j|d��S(NcS`s
||kS(N((R$R%((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR&Xs(R'(R"R(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt__ge__VscC`s|j|d��S(NcS`s
||kS(N((R$R%((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR&\s(R'(R"R(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt__gt__ZscC`s|j|d��S(NcS`s
||kS(N((R$R%((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR&`s(R'(R"R(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt__ne__^scC`s&t|t�stS||j|j�S(N(t
isinstanceRtNotImplementedR!(R"R(tmethod((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR'bsN(RRtNoneR!R#R)R*R+R,R-R.R'(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyRCs							cB`s�eZd�Zd�Zd�Zed��Zed��Zed��Zed��Z	ed��Z
ed��Zed	��Zed
��Z
ed��Zed��Zed
��ZRS(cC`s%t|�|_t|j�|_dS(N(tstrt_versiont_legacy_cmpkeyR!(R"R((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt__init__kscC`s|jS(N(R4(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt__str__pscC`sdjtt|���S(Ns<LegacyVersion({0})>(tformattreprR3(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt__repr__tscC`s|jS(N(R4(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pytpublicxscC`s|jS(N(R4(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pytbase_version}scC`sdS(Ni����((R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR�scC`sdS(N(R2(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR�scC`sdS(N(R2(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR�scC`sdS(N(R2(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR�scC`sdS(N(R2(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR�scC`sdS(N(R2(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR�scC`stS(N(tFalse(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt
is_prerelease�scC`stS(N(R=(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pytis_postrelease�scC`stS(N(R=(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt
is_devrelease�s(RRR6R7R:tpropertyR;R<RRRRRRR>R?R@(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyRjs			s(\d+ | [a-z]+ | \.| -)tctpreviewsfinal-t-trct@cc`sxxltj|�D][}tj||�}|s|dkrAqn|d dkrb|jd�Vqd|VqWdVdS(Nt.it
0123456789it*s*final(t_legacy_version_component_retsplitt_legacy_version_replacement_maptgettzfill(R$tpart((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt_parse_version_parts�s
cC`s�d}g}x�t|j��D]�}|jd�r�|dkrjx'|rf|ddkrf|j�qCWnx'|r�|ddkr�|j�qmWn|j|�qW|t|�fS(Ni����RIs*finals*final-t00000000(RPtlowert
startswithtpoptappendttuple(RRtpartsRO((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR5�ss�
    v?
    (?:
        (?:(?P<epoch>[0-9]+)!)?                           # epoch
        (?P<release>[0-9]+(?:\.[0-9]+)*)                  # release segment
        (?P<pre>                                          # pre-release
            [-_\.]?
            (?P<pre_l>(a|b|c|rc|alpha|beta|pre|preview))
            [-_\.]?
            (?P<pre_n>[0-9]+)?
        )?
        (?P<post>                                         # post release
            (?:-(?P<post_n1>[0-9]+))
            |
            (?:
                [-_\.]?
                (?P<post_l>post|rev|r)
                [-_\.]?
                (?P<post_n2>[0-9]+)?
            )
        )?
        (?P<dev>                                          # dev release
            [-_\.]?
            (?P<dev_l>dev)
            [-_\.]?
            (?P<dev_n>[0-9]+)?
        )?
    )
    (?:\+(?P<local>[a-z0-9]+(?:[-_\.][a-z0-9]+)*))?       # local version
cB`seZejdedejejB�Zd�Zd�Z	d�Z
ed��Zed��Z
ed��Zed��Zed	��Zed
��Zed��Zed��Zed
��Zed��Zed��Zed��Zed��Zed��ZRS(s^\s*s\s*$cC`s[|jj|�}|s0tdj|���ntd|jd�rZt|jd��nddtd�|jd�jd�D��dt	|jd�|jd	��d
t	|jd�|jd�p�|jd
��dt	|jd�|jd��dt
|jd���|_t|jj
|jj|jj|jj|jj|jj�|_dS(NsInvalid version: '{0}'RiRcs`s|]}t|�VqdS(N(tint(t.0ti((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pys	<genexpr>sRGRtpre_ltpre_nRtpost_ltpost_n1tpost_n2Rtdev_ltdev_nR(t_regextsearchRR8RtgroupRXRVRKt_parse_letter_versiont_parse_local_versionR4t_cmpkeyRRRRRRR!(R"Rtmatch((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR6s$*(!-!					cC`sdjtt|���S(Ns<Version({0})>(R8R9R3(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR:-scC`sg}|jdkr1|jdj|j��n|jdjd�|jD���|jdk	r�|jdjd�|jD���n|jdk	r�|jdj|j��n|jdk	r�|jdj|j��n|j	dk	r
|jd	j|j	��ndj|�S(
Nis{0}!RGcs`s|]}t|�VqdS(N(R3(RYtx((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pys	<genexpr>:stcs`s|]}t|�VqdS(N(R3(RYRi((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pys	<genexpr>>ss.post{0}s.dev{0}s+{0}(
RRUR8tjoinRRR2RRR(R"RW((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR71s#&cC`s|jj}|S(N(R4R(R"t_epoch((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyRNscC`s|jj}|S(N(R4R(R"t_release((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyRTscC`s|jj}|S(N(R4R(R"t_pre((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyRZscC`s|jjr|jjdSdS(Ni(R4RR2(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR`scC`s|jjr|jjdSdS(Ni(R4RR2(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyRescC`s1|jjr)djd�|jjD��SdSdS(NRGcs`s|]}t|�VqdS(N(R3(RYRi((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pys	<genexpr>ns(R4RRkR2(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyRjscC`st|�jdd�dS(Nt+ii(R3RK(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR;rscC`sag}|jdkr1|jdj|j��n|jdjd�|jD���dj|�S(Nis{0}!RGcs`s|]}t|�VqdS(N(R3(RYRi((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pys	<genexpr>�sRj(RRUR8RkR(R"RW((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR<ws
#cC`s|jdk	p|jdk	S(N(RR2R(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR>�scC`s
|jdk	S(N(RR2(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR?�scC`s
|jdk	S(N(RR2(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR@�scC`s$t|j�dkr |jdSdS(Nii(tlenR(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pytmajor�scC`s$t|j�dkr |jdSdS(Niii(RpR(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pytminor�scC`s$t|j�dkr |jdSdS(Niii(RpR(R"((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pytmicro�s(RRtretcompileRtVERBOSEt
IGNORECASERbR6R:R7RARRRRRRR;R<R>R?R@RqRrRs(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyRs$$			cC`s�|r�|dkrd}n|j�}|dkr<d}n?|dkrQd}n*|d
krfd	}n|dkr{d}n|t|�fS|r�|r�d}|t|�fSdS(NitalphatatbetatbRBRRCREtrevtrR(RBspreRC(R|R}(R2RRRX(tlettertnumber((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyRe�s"					
s[\._-]cC`s-|dk	r)td�tj|�D��SdS(sR
    Takes a string like abc.1.twelve and turns it into ("abc", 1, "twelve").
    cs`s3|])}|j�s!|j�n	t|�VqdS(N(tisdigitRRRX(RYRO((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pys	<genexpr>�sN(R2RVt_local_version_separatorsRK(R((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyRf�s
cC`s�ttttjd�t|�����}|dkrZ|dkrZ|dk	rZt}n|dkrot}n|}|dkr�t}n|}|dkr�t}	n|}	|dkr�t}
ntd�|D��}
|||||	|
fS(NcS`s
|dkS(Ni((Ri((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyR&�scs`s6|],}t|t�r$|dfn	t|fVqdS(RjN(R/RXR(RYRZ((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pys	<genexpr>s(RVtreversedtlistt	itertoolst	dropwhileR2RR(RRRRRRRmRnt_postt_devt_local((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyRg�s$*$						(5t
__future__RRRtcollectionsR�Rtt_structuresRRt_typingRttypingRRRR	R
RRR
Rt
InfiniteTypesR3RXtPrePostDevTypetSubLocalTypet	LocalTypetCmpKeytLegacyCmpKeytbooltVersionComparisonMethodt__all__t
namedtupleRRt
ValueErrorRtobjectRRRuRvRJRLRPR5RRReR�RfRg(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/packaging/version.pyt<module>sZ4
#*	
'F
		;�	&	

Zerion Mini Shell 1.0