+
    SBiU                     `   R t ^ RIt^ RIt^RIHt ]P
                  ! R]P                  4      t]P
                  ! R4      t]P
                  ! R4      t	R t
R]P                  R]P                  R	]P                  R
]P                  R]P                  R]P                   /t ! R R4      tRsR tR# )zAModule for parsing and testing package version predicate strings.N)versionz'(?i)^\s*([a-z_]\w*(?:\.[a-z_]\w*)*)(.*)z^\s*\((.*)\)\s*$z%^\s*(<=|>=|<|>|!=|==)\s*([^\s,]+)\s*$c                (   \         P                  V 4      pV'       g   \        RV : 24      hVP                  4       w  r#\        P
                  ! 4       ;_uu_ 4        \        P                  ! V4      pRRR4       W$3#   + '       g   i     TX3# ; i)zNParse a single version comparison.

Return (comparison string, StrictVersion)
z bad package restriction syntax: N)re_splitComparisonmatch
ValueErrorgroupsr   suppress_known_deprecationStrictVersion)predrescompverStrothers   &    K/usr/lib/python3.14/site-packages/setuptools/_distutils/versionpredicate.pysplitUpr      sv    
 
"
"4
(C;D8DEE::<LD		+	+	-	-%%f- 
.= 
.	-%=s   A>>B	<z<=z==>z>=z!=c                   6   a  ] tR t^(t o RtR tR tR tRtV t	R# )VersionPredicatea   Parse and test package version predicates.

>>> v = VersionPredicate('pyepat.abc (>1.0, <3333.3a1, !=1555.1b3)')

The `name` attribute provides the full dotted name that is given::

>>> v.name
'pyepat.abc'

The str() of a `VersionPredicate` provides a normalized
human-readable version of the expression::

>>> print(v)
pyepat.abc (> 1.0, < 3333.3a1, != 1555.1b3)

The `satisfied_by()` method can be used to determine with a given
version number is included in the set described by the version
restrictions::

>>> v.satisfied_by('1.1')
True
>>> v.satisfied_by('1.4')
True
>>> v.satisfied_by('1.0')
False
>>> v.satisfied_by('4444.4')
False
>>> v.satisfied_by('1555.1b3')
False

`VersionPredicate` is flexible in accepting extra whitespace::

>>> v = VersionPredicate(' pat( ==  0.1  )  ')
>>> v.name
'pat'
>>> v.satisfied_by('0.1')
True
>>> v.satisfied_by('0.2')
False

If any version numbers passed in do not conform to the
restrictions of `StrictVersion`, a `ValueError` is raised::

>>> v = VersionPredicate('p1.p2.p3.p4(>=1.0, <=1.3a1, !=1.2zb3)')
Traceback (most recent call last):
  ...
ValueError: invalid version number '1.2zb3'

It the module or package name given does not conform to what's
allowed as a legal module or package name, `ValueError` is
raised::

>>> v = VersionPredicate('foo-bar')
Traceback (most recent call last):
  ...
ValueError: expected parenthesized list: '-bar'

>>> v = VersionPredicate('foo bar (12.21)')
Traceback (most recent call last):
  ...
ValueError: expected parenthesized list: 'bar (12.21)'

c                F   VP                  4       pV'       g   \        R4      h\        P                  V4      pV'       g   \        RV: 24      hVP	                  4       w  V n        pVP                  4       pV'       d   \        P                  V4      pV'       g   \        RV: 24      hVP	                  4       ^ ,          pVP                  R4       Uu. uF  p\        V4      NK  	  upV n	        V P                  '       g   \        RV: 24      hR# . V n	        R# u upi )z!Parse a version predicate string.zempty package restrictionzbad package name in zexpected parenthesized list: ,zempty parenthesized list in N)
stripr   re_validPackager   r   namere_parensplitr   r
   )selfversionPredicateStrr   parenstraPreds   &&    r   __init__VersionPredicate.__init__i   s     2779"899%%&9:34G3JKLL <<>	5NN5)E #@	!JKK,,.#C58YYs^D^E^DDI999 #?@S?V!WXX  DI	 Es   Dc                   V P                   '       dg   V P                    UUu. uF  w  rVR ,           \        V4      ,           NK   	  pppV P                  R,           RP                  V4      ,           R,           # V P                  # u uppi ) z (z, ))r
   r   r   join)r   condverseqs   &   r   __str__VersionPredicate.__str__   sf    999:>))D)YT4#:C(()CD99t#diin4s::99 Es   $Bc                h    V P                    F!  w  r#\        V,          ! W4      '       d   K    R# 	  R# )zTrue if version is compatible with all the predicates in self.
The parameter version must be acceptable to the StrictVersion
constructor.  It may be either a string or StrictVersion.
FT)r
   compmap)r   r   r'   r(   s   &&  r   satisfied_byVersionPredicate.satisfied_by   s+    
 ID4=.. #     )r   r
   N)
__name__
__module____qualname____firstlineno____doc__r!   r*   r.   __static_attributes____classdictcell__)__classdict__s   @r   r   r   (   s     >@2 r0   r   c                   \         f&   \        P                  ! R\        P                  4      s V P	                  4       p \         P                  V 4      pV'       g   \        RV : 24      hVP                  ^4      ;'       g    RpV'       d=   \        P                  ! 4       ;_uu_ 4        \        P                  ! V4      pRRR4       VP                  ^4      V3#   + '       g   i     L#; i)a  Return the name and optional version number of a provision.

The version number, if given, will be returned as a `StrictVersion`
instance, otherwise it will be `None`.

>>> split_provision('mypkg')
('mypkg', None)
>>> split_provision(' mypkg( 1.2 ) ')
('mypkg', StrictVersion ('1.2'))
Nz=([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(?:\s*\(\s*([^)\s]+)\s*\))?$z illegal provides specification: )_provision_rxrecompileASCIIr   r   r   groupr   r   r	   )valuemr(   s   &  r   split_provisionrA      s     

Lbhh
 KKMEE"A;E9EFF
''!*

C
//11'',C 2771:s? 21s   *CC,	)r5   operatorr;    r   r<   r=   r   r   r   r   ltleeqgtgener-   r   r:   rA    r0   r   <module>rK      s    G  	 **GR ::)*ZZ HI  (++(++(++(++i iX r0   