From a73e63c744c598c96b7b526068e578b98ec26271 Mon Sep 17 00:00:00 2001 From: LxHTT Date: Sat, 23 Sep 2023 20:43:00 +0800 Subject: [PATCH] =?UTF-8?q?F=20|=20=E4=BF=AE=E5=A4=8Dmultiprocessing?= =?UTF-8?q?=E5=AF=BC=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuitka_build.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nuitka_build.py b/nuitka_build.py index 33179362..a0c2ba16 100644 --- a/nuitka_build.py +++ b/nuitka_build.py @@ -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 @@ -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")