Hacked By AnonymousFox
�
h��f� � � � d dl Zd dlmZmZmZmZ ddlmZ ddl
mZ ddlm
Z
mZ ddlmZ G d� d e� � Z G d
� d� � ZdS )� N)�Any�List�Optional�Set� )�parse_requirement)�ParserSyntaxError)�Marker�_normalize_extra_values)�SpecifierSetc � � e Zd ZdZdS )�InvalidRequirementzJ
An invalid requirement was found, users should refer to PEP 508.
N)�__name__�
__module__�__qualname__�__doc__� � �v/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/packaging/requirements.pyr r s � � � � � �� � � r r c �V � e Zd ZdZdeddfd�Zdefd�Zdefd�Zdefd�Z d e
defd
�ZdS )�Requirementz�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.
�requirement_string�returnNc � � t |� � }n/# t $ r"}t t |� � � � |�d }~ww xY w|j | _ |j r�t j � |j � � }|j dk r8t j �
|� � |j k rt d� � �n3|j r|j r|j s|j st d|j � �� � �|j | _ nd | _ t |j
r|j
ng � � | _
t |j � � | _ d | _ |j �>t# j t"