Skip to content

Commit

Permalink
F | 修复multiprocessing导包
Browse files Browse the repository at this point in the history
  • Loading branch information
LxHTT committed Sep 23, 2023
1 parent 0e8b86c commit a73e63c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nuitka_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ def gen_compiler() -> CompilerHelper:
copy_right="Copyright ©MCSL Team. All right reserved.",
icon_path=Path("./MCSL2.ico"),
no_follow_import=["numpy", "scipy"],
follow_import=["Adapters"],
follow_import=["Adapters", "loguru"],
include_packages=["MCSL2Lib"],
include_data_dir=[
("MCSL2/Aria2", "MCSL2/Aria2"),
],
enable_plugin=["pyqt5"],
enable_plugin=["pyqt5", "multiprocessing"],
)
return compiler

Expand All @@ -72,6 +72,7 @@ def gen_compiler() -> CompilerHelper:
compiler.use_ccache = False
compiler.show_memory = False
compiler.show_progress = False
compiler.enable_console = False
compiler.output_path = Path("./build")
sys.argv.remove("--github")

Expand Down

0 comments on commit a73e63c

Please sign in to comment.