mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 20:34:16 +02:00
fix: allow editable install before bauh is on PYTHONPATH
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import os
|
||||
|
||||
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__))
|
||||
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user