mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
fix: allow editable install before bauh is on PYTHONPATH
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
import os
|
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__))
|
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ Repository = "https://github.com/spalencsar/bearhub"
|
|||||||
license-files = ["LICENSE"]
|
license-files = ["LICENSE"]
|
||||||
|
|
||||||
[tool.setuptools.dynamic]
|
[tool.setuptools.dynamic]
|
||||||
version = {attr = "bearhub.__version__"}
|
version = {attr = "bauh.__version__"}
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
exclude = ["tests.*", "tests"]
|
exclude = ["tests.*", "tests"]
|
||||||
|
|||||||
Reference in New Issue
Block a user