1+ name : ' wallpaper_engine_workshop_cleaning'
2+ version : ' v25.10.01'
3+ project-base-path : ' ./wallpaper_engine_workshop_cleaning/{app_ver}' # 项目目录
4+ init-file : ' main.py' # 入口文件,相对项目目录
5+ install-requirements : [
6+
7+ ]
8+ install-requirements-file : " requirements.txt" # 安装依赖文件,相对项目目录
9+ enable-plugins : [
10+ ' upx'
11+ ]
12+ include :
13+ files : []
14+ dirs : []
15+ modules : []
16+ packages : []
17+ # onefile: 2 # 0:文件夹 1:单文件 2:两者
18+ # distpath: 'dist'
19+ timeout : 2700
20+ os-list :
21+ - ' Linux'
22+ - ' Windows'
23+ build-pwd : script-base-path # 构建基础路径,可选 root-base-path、script-base-path(默认)、custom-path
24+ custom-args : []
25+ only-linux-args : []
26+ only-windows-args : []
27+ clean-cache : # 禁用选定的缓存,设置"all"则为所有缓存。当前允许的值有:"all(全部)","ccache","bytecode(字节码)","compression(压缩)","dll-dependencies(dll依赖项)"。
28+ c-compiler :
29+ # clang: true # boolean
30+ # mingw64: # boolean
31+ lto : auto # auto(默认),yes,no 启用链接时优化(Link Time Optimization, LTO),减少二进制文件大小并提高性能。
32+ static-libpython : auto # auto(默认),yes,no 控制是否静态链接 Python 运行时库。
33+ windows-specific-controls :
34+ console-mode : force # force(默认,始终启动控制台),disable(完全禁用控制台),attach(仅使用现有控制台),hide(创建控制台但立即隐藏(后台运行))
35+ icon : package/assets/favicon.ico
36+ uac-admin : False # boolean,管理员权限
37+ uac-uiaccess : False # boolean,请求Windows用户控制(UAC)UI访问权限
38+ output-name-template : ' {name}_{app_ver}_py{py_ver}_nk{nk_ver}_{os_short}_{arch}{exe_suffix}'
39+ # 检查程序是否运行成功
40+ check-program :
41+ enable : False
42+ return-code : 0
43+ timeout : 500 # 超时时间,单位秒
44+ check-command : [] # 检查命令参数,列表形式,例如: ["--test"]
45+ return-output : " success" # 检查程序输出是否包含指定字符串
46+ throw-exception : False # 是否抛出异常
0 commit comments