Skip to content

Commit 0ff6d16

Browse files
committed
更新构建脚本以包含rich包,优化Nuitka编译选项
1 parent b63cd4e commit 0ff6d16

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def build():
2626
# "--windows-icon-from-ico=icon.ico", # Uncomment if you have an icon file
2727

2828
# Include necessary packages (resolve dynamic imports for rich)
29-
# "--include-package=rich",
30-
# "--include-package=rich._unicode_data",
29+
"--include-package=rich",
30+
"--include-package=rich._unicode_data",
3131
"--include-package-data=rich",
3232

3333
# Include other core packages
@@ -43,7 +43,7 @@ def build():
4343
# "--include-data-dir=models=models",
4444

4545
# Optimization options
46-
# "--assume-yes-for-downloads",
46+
"--assume-yes-for-downloads",
4747
# "--show-progress",
4848
# "--show-memory",
4949

0 commit comments

Comments
 (0)