관리-도구
편집 파일: _py39compat.cpython-312.pyc
� t��eJ � �` � d Z ddlmZmZmZ er ddlmZmZ nexZZdedee fd�Z dede fd �Zy )z) Compatibility layer with Python 3.8/3.9 � )� TYPE_CHECKING�Any�Optional� )�Distribution� EntryPoint�dist�returnc � � | j S # t $ r6 ddlm} |j t | dd� xs | j d � cY S w xY w)z] Honor name normalization for distributions that don't provide ``_normalized_name``. r )�Prepared�nameN�Name)�_normalized_name�AttributeError� r � normalize�getattr�metadata)r r s ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_py39compat.py�normalized_namer sP � �X��$�$�$��� X���!�!�'�$���"=�"V����v�AV�W�W�X�s � �<A �A �epc �� � | j di |��S # t $ rA ddlm} || j | j | j � j di |��cY S w xY w)zO Workaround for ``EntryPoint`` objects without the ``matches`` method. r )r � )�matchesr r r r �value�group)r �paramsr s r � ep_matchesr s] � �I��r�z�z�#�F�#�#��� I� � ?�z�"�'�'�2�8�8�R�X�X�6�>�>�H��H�H� I�s � �AA�AN)�__doc__�typingr r r r r r �strr �boolr r � r �<module>r$ sU ��� 0� /��*�*� #�#�L�:� X�,� X�8�C�=� X� I�:� I�D� Ir#