21 lines
549 B
Python
21 lines
549 B
Python
"""Repository and Nuitka build output paths."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from pathlib import Path
|
|
|
|
REPO_ROOT = Path(__file__).resolve().parent.parent
|
|
|
|
NUITKA_COMPILE_DIR = REPO_ROOT / "build" / "nuitka" / "compile"
|
|
NUITKA_WHEEL_DIR = REPO_ROOT / "build" / "nuitka" / "wheel"
|
|
NUITKA_GUI_DIR = REPO_ROOT / "build" / "nuitka" / "gui"
|
|
GUI_DIST_DIR = REPO_ROOT / "dist" / "OrisysDashboard"
|
|
|
|
|
|
def repo_path(*parts: str) -> Path:
|
|
return REPO_ROOT.joinpath(*parts)
|
|
|
|
|
|
def sdk_dir(version: str) -> Path:
|
|
return REPO_ROOT / "SDK" / version
|