from __future__ import annotations

import os
from pathlib import Path

PROJECT_ROOT = Path(__file__).resolve().parents[2]
DEFAULT_DB_PATH = PROJECT_ROOT / "quartermaster.db"
DB_URL = os.environ.get("QUARTERMASTER_DB_URL", f"sqlite:///{DEFAULT_DB_PATH}")
