a
    6Rîhž  ã                   @  sô   U d dl mZ d dlmZmZ d dlmZ d dlmZm	Z	m
Z
mZmZ d dlmZ d dlmZ ernd dlmZ e
dƒZeeee f Zd	ed
< eƒ eƒZded< d
ddœdd„Zed
ddœdd„ƒZed
dddœdd„ƒZefd
dddœdd„ZdS )é    )Úannotations)ÚIterableÚIterator)Ú	lru_cache)ÚTYPE_CHECKINGÚCallableÚTypeVarÚUnionÚoverloadN)ÚRequirement)Ú	TypeAliasÚ_Tr   Ú
_StrOrIterzCallable[[str], Requirement]Ú	parse_reqzIterator[str])ÚstrsÚreturnc                 C  s   t  tt jt  | ¡ƒ¡S )zŒ
    Yield requirement strings for each specification in `strs`.

    `strs` must be a string, or a (possibly-nested) iterable thereof.
    )ÚtextZjoin_continuationÚmapZdrop_commentÚyield_lines©r   © r   úF/opt/python-3.9.24/usr/lib/python3.9/site-packages/setuptools/_reqs.pyÚparse_strings   s    r   zIterator[Requirement]c                 C  s   d S ©Nr   r   r   r   r   Úparse"   s    r   zCallable[[str], _T]zIterator[_T])r   Úparserr   c                 C  s   d S r   r   ©r   r   r   r   r   r   $   s    c                 C  s   t |t| ƒƒS )zW
    Replacement for ``pkg_resources.parse_requirements`` that uses ``packaging``.
    )r   r   r   r   r   r   r   &   s    )Ú
__future__r   Úcollections.abcr   r   Ú	functoolsr   Útypingr   r   r   r	   r
   Zjaraco.textr   Zpackaging.requirementsr   Ztyping_extensionsr   r   Ústrr   Ú__annotations__r   r   r   r   r   r   r   Ú<module>   s    