CoolFace
Apppublic

Aluode/PerceptionLabPortable

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
requirements.cpython-310.pyc39 linesDownload Raw Back to __pycache__
1o

2��Yi��@s~ddlmZddlmZmZddlmZddlm	Z	ddl3mZmZddl
mZddlmZGd	d4�d5e�ZGdd�d�Zd
S)�)�annotations)�Any�Iterator�)�parse_requirement)�ParserSyntaxError)�Marker�_normalize_extra_values)�SpecifierSet)�canonicalize_namec@seZdZdZdS)�InvalidRequirementzJ6    An invalid requirement was found, users should refer to PEP 508.7    N)�__name__�8__module__�__qualname__�__doc__�rr��E:\DocsHouse\542 percep lab latest\PerceptionLab\PerceptionLab_Portable\python_embed\Lib\site-packages\packaging/requirements.pyrsrc@sLeZdZdZddd�Zdd9d�Zddd
�Zddd�Zddd�Zddd�Z	dS)�Requirementz�Parse a requirement.10 11    Parse a given requirement string into its parts, such as name, specifier,12    URL, and extras. Raises InvalidRequirement on a badly-formed requirement13    string.14    �requirement_string�str�return�Nonec15Cs�zt|�}Wnty}ztt|��|�d}~ww|j|_|jp"d|_t|jp)g�|_t|j	�|_	d|_16|j17durIt�t�|_18t
|j19�|j20_dSdS�N)�_parse_requirementrrr�name�url�set�extrasr21�	specifier�markerr�__new__r	�_markers)�selfr�parsed�errr�__init__"s��22�zRequirement.__init__r�
Iterator[str]ccsz�|V|jrd�t|j��}d|�d�V|jrt|j�V|jr/d|j��V|jr/dV|jr;d|j��VdSdS)N�,�[�]z@ � z; )r�join�sortedrrrr)r"r�formatted_extrasrrr�_iter_parts1s��zRequirement._iter_partscCsd�|�|j��S)N�)r+r.r�r"rrr�__str__CszRequirement.__str__cCsd|�d�S)Nz<Requirement('z')>rr0rrr�__repr__FszRequirement.__repr__�intcCs t|jjg|�t|j���R�Sr)�hash�	__class__r
r.rrr0rrr�__hash__Is���zRequirement.__hash__�otherr�boolcCsRt|t�stSt|j�t|j�ko(|j|jko(|j|jko(|j|jko(|j|jkSr)	�23isinstancer�NotImplementedrrrrrr)r"r7rrr�__eq__Qs2425�26�27�28�zRequirement.__eq__N)rrrr)rrrr&)rr)rr3)r7rrr8)29r
rrrr%r.r1r2r6r;rrrrrs3031323334rN)�35__future__r�typingrr�_parserrr�36_tokenizerr�markersrr	�37specifiersr38�utilsr�39ValueErrorrrrrrr�<module>s
Aluode/PerceptionLabPortable · CoolFace