관리-도구
편집 파일: requirements.cpython-312.pyc
� t��e� � � � d dl Zd dlmZmZmZmZ ddlmZ ddl mZ ddlm Z mZ ddlmZ G d� d e� Z G d � d� Zy)� N)�Any�List�Optional�Set� )�parse_requirement)�ParserSyntaxError)�Marker�_normalize_extra_values)�SpecifierSetc � � e Zd ZdZy)�InvalidRequirementzJ An invalid requirement was found, users should refer to PEP 508. N)�__name__� __module__�__qualname__�__doc__� � ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/_vendor/packaging/requirements.pyr r s � �r r c �T � e Zd ZdZdeddfd�Zdefd�Zdefd�Zdefd�Z d e defd �Zy)�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 �r � t |� }|j | _ |j r�t j j |j � }|j dk( r7t j j |� |j k7 rSt d� �|j r$|j r|j s$|j st d|j � �� �|j | _ nd | _ t |j r|j ng � | _ t |j � | _ d | _ |j �Ct# j$ t"