Files
xian_algorithm_new/start.py
T
2026-05-30 15:03:39 +08:00

18 lines
437 B
Python

"""
项目启动脚本 - 支持多环境和跨平台
使用 Dynaconf 进行环境隔离配置
"""
from pathlib import Path
# 添加项目根目录到Python路径
project_root = Path(__file__).parent
if __name__ == "__main__":
# 延迟导入,确保在依赖安装前不会导入第三方库
from app.core.launcher import AppLauncher
# 创建并运行启动器
launcher = AppLauncher(project_root)
launcher.run()