U
    $FZh                     @   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 n t jk
r8   Y nX dS )zIssue 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   e/home/aprabhat/apps/x.techxrdev.in/venv/lib/python3.8/site-packages/google/cloud/obsolete/__init__.pycomplain   s    	
r   )__doc__sysr   version_infoZimportlib_metadatar   importlib.metadatar   r   r   r   r   <module>   s   

