diff --git a/bearhub/__init__.py b/bearhub/__init__.py index 865653c8..ecbb5a43 100644 --- a/bearhub/__init__.py +++ b/bearhub/__init__.py @@ -1,6 +1,10 @@ import os -from bauh import __app_name__, __version__ +try: + from bauh import __app_name__, __version__ +except ModuleNotFoundError: + __app_name__ = "bearhub" + __version__ = "0.10.7" ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) diff --git a/pyproject.toml b/pyproject.toml index ab8f8fd9..6105e7d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ Repository = "https://github.com/spalencsar/bearhub" license-files = ["LICENSE"] [tool.setuptools.dynamic] -version = {attr = "bearhub.__version__"} +version = {attr = "bauh.__version__"} [tool.setuptools.packages.find] exclude = ["tests.*", "tests"]