fix: add sys.path fix to build scripts for direct execution
Some checks failed
Syntax / Linting and Type Checking (push) Has been cancelled
Tests / Linux Python 3.11 (push) Has been cancelled
Tests / Linux Python 3.12 (push) Has been cancelled
Tests / Linux Python 3.13 (push) Has been cancelled
Tests / Linux Python 3.14 (push) Has been cancelled
Tests / Linux Python 3.15 (push) Has been cancelled
Tests / MacOS Python 3.14 (push) Has been cancelled
Tests / Windows Python 3.14 (push) Has been cancelled
Tests / PR Coverage Report (push) Has been cancelled
Tests / Action Coverage Report (push) Has been cancelled
Tests / Ubuntu 24.04 & Sys Packages (push) Has been cancelled
Tests / Fedora 44 & Sys Packages (push) Has been cancelled

This commit is contained in:
B.D. Murphy
2026-11-06 12:25:43 -08:00
parent 6eb6241044
commit 02c532234c
5 changed files with 15 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ import sys
from pathlib import Path from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from utils.common import ( from utils.common import (
ROOT_DIR, ROOT_DIR,
SETUP_DIR, SETUP_DIR,

View File

@@ -30,6 +30,10 @@ import sys
from dataclasses import dataclass from dataclasses import dataclass
from datetime import date, datetime from datetime import date, datetime
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from utils.common import ( from utils.common import (
MIN_PY_VERSION, MIN_PY_VERSION,
MIN_QT_VERS, MIN_QT_VERS,

View File

@@ -32,6 +32,8 @@ import urllib.request
from pathlib import Path from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from utils.common import ( from utils.common import (
ROOT_DIR, ROOT_DIR,
appdataXml, appdataXml,

View File

@@ -24,6 +24,11 @@ from __future__ import annotations
import argparse import argparse
import shutil import shutil
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from utils.common import ROOT_DIR, SETUP_DIR, copySourceCode, freshFolder, log, systemCall, updateMetaFile from utils.common import ROOT_DIR, SETUP_DIR, copySourceCode, freshFolder, log, systemCall, updateMetaFile

View File

@@ -31,6 +31,8 @@ import zipfile
from pathlib import Path from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from utils.common import ( from utils.common import (
ROOT_DIR, ROOT_DIR,
SETUP_DIR, SETUP_DIR,