refactor: release and installer tools read root

Code about to move into a package reads core.paths.REPO_ROOT, and the
release tools stop inserting their own folder on sys.path: scripts/ is
on it for every command and package module.
This commit is contained in:
Abdessamad Derraz committed 2026-11-18 20:43:14 +01:00
1 parent fa408c4299
commit 5b3b3f19e8
11 files changed
+13 -13

No files matched your search

+2 -1
View File
@@ -14,8 +14,9 @@ import sys
from pathlib import Path
from core.artifacts import write_text_atomic
from core.paths import REPO_ROOT
ROOT = Path(__file__).resolve().parent.parent
ROOT = REPO_ROOT
OUTPUT = ROOT / "schemas" / "install-events.schema.json"
_spec = importlib.util.spec_from_file_location("install", ROOT / "install.py")