Files
old-saburly-wagtail-web/env/lib/python3.10/site-packages/packaging/__pycache__/requirements.cpython-310.pyc

39 lines
2.8 KiB
Plaintext
Raw Normal View History

2024-08-27 20:33:44 +02:00
o
<00><><EFBFBD>f<EFBFBD> <00>@s~ddlmZddlmZmZddlmZddlm Z ddl
m Z m Z ddl mZddlmZGd d
<EFBFBD>d
e<11>ZGd d <0C>d <0C>Zd S)<0E>)<01> annotations)<02>Any<6E>Iterator<6F>)<01>parse_requirement)<01>ParserSyntaxError)<02>Marker<65>_normalize_extra_values)<01> SpecifierSet)<01>canonicalize_namec@seZdZdZdS)<03>InvalidRequirementzJ
An invalid requirement was found, users should refer to PEP 508.
N)<04>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__<5F>rr<00>X/home/amir/Desktop/saburlyweb/env/lib/python3.10/site-packages/packaging/requirements.pyr sr c@sLeZdZdZddd<07>Zdd
d <0B>Zdd d <0A>Zddd<0F>Zddd<12>Zddd<17>Z dS)<1E> Requirementz<74>Parse a requirement.
Parse a given requirement string into its parts, such as name, specifier,
URL, and extras. Raises InvalidRequirement on a badly-formed requirement
string.
<20>requirement_string<6E>str<74>return<72>Nonec
Cs<>zt|<01>}Wnty}ztt|<03><01>|<03>d}~ww|j|_|jp"d|_t|jp)g<00>|_t|j <09>|_ d|_
|j
durIt <0B> t <0B>|_
t |j
<EFBFBD>|j
_dSdS<00>N)<0F>_parse_requirementrr r<00>name<6D>url<72>set<65>extrasr
<00> specifier<65>markerr<00>__new__r <00>_markers)<04>selfr<00>parsed<65>errr<00>__init__"s <08><02>  
 <04>zRequirement.__init__r<00> Iterator[str]ccsz<00>|V|jrd<01>t|j<00><01>}d|<02>d<03>V|jrt|j<03>V|jr/d|j<05><00>V|jr/dV|jr;d|j<06><00>VdSdS)N<>,<2C>[<5B>]z@ <20> z; )r<00>join<69>sortedrrrr)r"r<00>formatted_extrasrrr<00> _iter_parts1s<02> <04>zRequirement._iter_partscCsd<01>|<00>|j<02><01>S)N<>)r+r.r<00>r"rrr<00>__str__CszRequirement.__str__cCs d|<00>d<02>S)Nz<Requirement('z')>rr0rrr<00>__repr__Fs zRequirement.__repr__<5F>intcCs t|jjg|<00>t|j<05><01><01>R<00>Sr)<06>hash<73> __class__r r.r rr0rrr<00>__hash__Is <02><04><04>zRequirement.__hash__<5F>otherr<00>boolcCsRt|t<01>stSt|j<04>t|j<04>ko(|j|jko(|j|jko(|j|jko(|j|jkSr) <09>
isinstancer<00>NotImplementedr rrrrr)r"r7rrr<00>__eq__Qs

<02>
<02>
<02>
<02>zRequirement.__eq__N)rrrr)rrrr&)rr)rr3)r7rrr8)
r rrrr%r.r1r2r6r;rrrrrs



rN)<14>
__future__r<00>typingrr<00>_parserrr<00>
_tokenizerr<00>markersrr <00>
specifiersr
<00>utilsr <00>
ValueErrorr rrrrr<00><module>s