o
    ÖèFhÇ  ã                   @   s@   d Z ddlZddlZejdk rddlZnddlmZ dd„ ZdS )z(Helpers for deprecated code and modules.é    N)é   é   c                 C   s<   zt  | ¡ t dj| d�t¡ W dS  t jy   Y dS w )züIssue a warning if `distribution_name` is installed.

    In a future release, this method will be updated to raise ImportError
    rather than just send a warning.

    Args:
        distribution_name (str): The name of the obsolete distribution.
    z}The {pkg} distribution is now obsolete. Please `pip uninstall {pkg}`. In the future, this warning will become an ImportError.)ÚpkgN)ÚmetadataÚdistributionÚwarningsÚwarnÚformatÚDeprecationWarningÚPackageNotFoundError)Údistribution_name© r   úW/var/www/html/loop/nvenv/lib/python3.10/site-packages/google/cloud/obsolete/__init__.pyÚcomplain   s   	
ý
úÿr   )Ú__doc__Úsysr   Úversion_infoÚimportlib_metadatar   Úimportlib.metadatar   r   r   r   r   Ú<module>   s   

