You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uv 管理依赖,使用 PyYAML 从 yml 读取配置,自定义 logging 生成日志,使用 APScheduler 和 py7zr 定时压缩归档日志。 Use uv to manage dependencies, read configuration from a YAML file using PyYAML, customize logging to generate logs, and use APScheduler and py7zr to periodically compress and archive logs.
Use uv to manage dependencies, read configuration from a YAML file using PyYAML, customize logging to generate logs, and use APScheduler and py7zr to periodically compress and archive logs.
pyinstaller -D src/main/setup.py -n main --add-data "res;res"
通过 .spec 文件构建 Build Using a .spec File
--noconfirm无需确认是否覆盖上次构建的文件 No need to confirm whether to overwrite the last built file
pyinstaller main.spec --noconfirm
命令 Command
# 当前目录创建虚拟环境 Create a virtual environment in the current directory
uv venv
# 激活虚拟环境 Activate the virtual environment
.\.venv\Scripts\activate
# 安装依赖 Install dependencies
uv pip install -e .# 启动 Start the application
uv run -m src.main.setup
About
uv 管理依赖,使用 PyYAML 从 yml 读取配置,自定义 logging 生成日志,使用 APScheduler 和 py7zr 定时压缩归档日志。 Use uv to manage dependencies, read configuration from a YAML file using PyYAML, customize logging to generate logs, and use APScheduler and py7zr to periodically compress and archive logs.