mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 07:18:47 +00:00
Add vendor directory to sys.path
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user