2025-01-22 13:12:33 +08:00

9 lines
168 B
Python

# build.py
import PyInstaller.__main__
PyInstaller.__main__.run([
'ups-test.py', # Python脚本文件名
'--onefile', # 生成单个可执行文件
])