uv 管理依赖,从 yml 读取配置,自定义 logging 生成日志,定时任务压缩归档日志。
Using uv to manage dependencies, loading configurations from a YAML file, customizing logging for generating logs, and using scheduled tasks to compress and archive logs.
-F
单文件 Single-file executable,-D
单目录 Single-directory executable-n
exe 文件名 Specifies the name of the exe file--add-data
添加资源文件 Adds resource files
pyinstaller -D src/main/setup.py -n main --add-data "res;res"
pyinstaller main.spec
uv run -m src.main.setup