Add 'fiscal/' from commit '102ba84500dbd9655a0471288c3e278652593ca9'
git-subtree-dir: fiscal git-subtree-mainline:d95165fc8fgit-subtree-split:102ba84500
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parent.parent
|
||||
DEFAULT_PAYLOAD = ROOT / "dist" / "installer"
|
||||
PAYLOAD = Path(os.environ.get("GTI_E2E_PAYLOAD", str(DEFAULT_PAYLOAD)))
|
||||
sys._MEIPASS = str(PAYLOAD) # frozen-equivalent: extract_payload() reads this
|
||||
sys.path.insert(0, str(ROOT / "agent" / "src"))
|
||||
sys.path.insert(0, str(ROOT / "installer"))
|
||||
|
||||
import setup_main # noqa: E402
|
||||
|
||||
sys.exit(setup_main.cli())
|
||||
Reference in New Issue
Block a user