make install independant

This commit is contained in:
frederik
2025-11-09 20:00:54 +01:00
committed by Nachtzuster
parent 2649ae972d
commit 0caea78f94
+4 -3
View File
@@ -9,10 +9,11 @@ from itertools import chain
_settings = None _settings = None
DB_PATH = os.path.expanduser('~/BirdNET-Pi/scripts/birds.db') BASE_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
MODEL_PATH = os.path.expanduser('~/BirdNET-Pi/model') DB_PATH = os.path.join(BASE_PATH, 'scripts/birds.db')
MODEL_PATH = os.path.join(BASE_PATH, 'model')
FONT_DIR = os.path.join(BASE_PATH, 'homepage/static')
ANALYZING_NOW = os.path.expanduser('~/BirdSongs/StreamData/analyzing_now.txt') ANALYZING_NOW = os.path.expanduser('~/BirdSongs/StreamData/analyzing_now.txt')
FONT_DIR = os.path.expanduser('~/BirdNET-Pi/homepage/static')
def get_font(): def get_font():