Files
tzst/src/main.py
T
xixu-me 637f1d2562 Update CI workflow and add main entry point
Modified the CI workflow to correctly specify the path to the main script for PyInstaller builds. Added a new standalone entry point in src/main.py to serve as the executable script for tzst.
2025-06-04 21:08:33 +08:00

14 lines
301 B
Python

#!/usr/bin/env python3
"""Standalone entry point for tzst - used for PyInstaller builds."""
import os
import sys
# Add the src directory to the Python path
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
from tzst.cli import main
if __name__ == "__main__":
sys.exit(main())