diff --git a/src/drf_yasg/__init__.py b/src/drf_yasg/__init__.py index 0f8df57a..40b9c5de 100644 --- a/src/drf_yasg/__init__.py +++ b/src/drf_yasg/__init__.py @@ -3,13 +3,15 @@ __author__ = """Cristi V.""" __email__ = 'cristi@cvjd.me' +HS_PREFIX = 'humansignal_' + try: from importlib.metadata import version - __version__ = version(__name__) + __version__ = version(HS_PREFIX + __name__) except ImportError: # Python < 3.8 try: from pkg_resources import DistributionNotFound, get_distribution - __version__ = get_distribution(__name__).version + __version__ = get_distribution(HS_PREFIX + __name__).version except DistributionNotFound: # pragma: no cover # package is not installed pass