Merge pull request #598 from PR0M3TH3AN/codex/add-vendor-path-to-sys.path-in-main.py

Add vendor path to main
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-07-17 08:48:26 -04:00
commit e0b253ea63
1 file changed
+7 -1
+7 -1
View File
@@ -1,7 +1,13 @@
# main.py
import os
from pathlib import Path
import sys
# Add bundled vendor directory to sys.path so bundled dependencies can be imported
vendor_dir = Path(__file__).parent / "vendor"
if vendor_dir.exists():
sys.path.insert(0, str(vendor_dir))
import os
import logging
import signal
import getpass