� ��^i|���ddlmZmZddlmZmZmZmZmZgd�Z defd�Z deee defd�Z d ed e defd �Z d S) �)�List�Optional�)�BaseDistribution�BaseEnvironment�FilesystemWheel� MemoryWheel�Wheel)rrrr r �get_default_environment�get_environment�get_wheel_distribution�returnc�6�ddlm}|���S)a Get the default representation for the current environment. This returns an Environment instance from the chosen backend. The default Environment instance should be built from ``sys.path`` and may use caching to share instance state accorss calls. r�� Environment)� pkg_resourcesr�defaultrs ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/metadata/__init__.pyr r s(��+�*�*�*�*�*� � � � � � ��pathsc�8�ddlm}|�|��S)a'Get a representation of the environment specified by ``paths``. This returns an Environment instance from the chosen backend based on the given import paths. The backend must build a fresh instance representing the state of installed distributions when this function is called. rr)rr� from_paths)rrs rr r s*��+�*�*�*�*�*� � !� !�%� (� (�(r�wheel�canonical_namec�:�ddlm}|�||��S)aGet the representation of the specified wheel's distribution metadata. This returns a Distribution instance from the chosen backend based on the given wheel's ``.dist-info`` directory. :param canonical_name: Normalized project name of the given wheel. r)� Distribution)rr� from_wheel)rrrs rr r )s,��,�+�+�+�+�+� � "� "�5�.� 9� 9�9rN)�typingrr�baserrrr r �__all__r �strr r �rr�r#s���!�!�!�!�!�!�!�!�X�X�X�X�X�X�X�X�X�X�X�X�X�X� � � �� !�� !� !� !� !� )�8�D��I�.� )�?� )� )� )� )� :�%� :�� :�AQ� :� :� :� :� :� :r