a
    ¢Ài|  ã                   @   sp   d dl mZmZ ddlmZmZmZmZmZ g d¢Z	edœdd„Z
eee  edœd	d
„Zeeedœdd„ZdS )é    )ÚListÚOptionalé   )ÚBaseDistributionÚBaseEnvironmentÚFilesystemWheelÚMemoryWheelÚWheel)r   r   r   r   r	   Úget_default_environmentÚget_environmentÚget_wheel_distribution)Úreturnc                  C   s   ddl m}  |  ¡ 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   Údefaultr   © r   úa/home/ec2-user/npost_license/.venv/lib/python3.9/site-packages/pip/_internal/metadata/__init__.pyr
      s    r
   )Úpathsr   c                 C   s   ddl m} | | ¡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.
    r   r   )r   r   Ú
from_paths)r   r   r   r   r   r      s    r   )ÚwheelÚcanonical_namer   c                 C   s   ddl m} | | |¡S )a  Get 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)r   r   Ú
from_wheel)r   r   r   r   r   r   r   )   s    r   N)Útypingr   r   Úbaser   r   r   r   r	   Ú__all__r
   Ústrr   r   r   r   r   r   Ú<module>   s
   