Update compilation/package_dist.py to resolve paths relative to repo root

This commit is contained in:
2026-09-04 15:56:01 +02:00
parent 6fec838344
commit 7ed264db5a
+3 -3
View File
@@ -7,10 +7,10 @@ import platform
import subprocess import subprocess
import argparse import argparse
ROOT_DIR = os.path.abspath(os.path.dirname(__file__)) ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
SRC_DIR = os.path.join(ROOT_DIR, "src") SRC_DIR = os.path.join(ROOT_DIR, "src")
DIST_DIR = os.path.abspath("dist") DIST_DIR = os.path.join(ROOT_DIR, "dist")
BUILD_TEMP = os.path.abspath("build_temp") BUILD_TEMP = os.path.join(ROOT_DIR, "build_temp")
def clean_and_prep(): def clean_and_prep():
if os.path.exists(DIST_DIR): if os.path.exists(DIST_DIR):