feat: Improve module import paths and add package initialization files

This commit is contained in:
2026-05-20 17:43:06 +02:00
parent 4c58dceb02
commit f847faea3e
6 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ def _get_int_env(name, default):
return int(default)
def get_version():
with open(os.path.join(BASE_DIR, '..', '.docker-build.env'), 'r') as f:
with open(os.path.join(BASE_DIR, '..', '..', '..', '.docker-build.env'), 'r') as f:
for l in f:
if l.startswith('INVENTAR_APP_IMAGE='):
return l.split(':', 1)[1].strip()