From 3ac6e8a54e65a1d2bfc5d7477958e7a19598771b Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 10 Jun 2023 14:45:51 +0800 Subject: [PATCH] update some nuitka build --- libs/utils/nuitka.py | 4 ++-- nuitka_build.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/utils/nuitka.py b/libs/utils/nuitka.py index 777f198..87c71fc 100644 --- a/libs/utils/nuitka.py +++ b/libs/utils/nuitka.py @@ -13,8 +13,8 @@ from typing import List, Tuple from Difficult_Rocket.api.types import Options, Version -class Status(Options): - name = 'Nuitka Build Status' +class CompilerHelper(Options): + name = 'Nuitka Compiler Helper' output_path: Path = Path("./build/nuitka-win") src_file: Path = Path('DR.py') diff --git a/nuitka_build.py b/nuitka_build.py index 3ded22f..7cdba71 100644 --- a/nuitka_build.py +++ b/nuitka_build.py @@ -10,7 +10,7 @@ import subprocess from libs.utils import nuitka if __name__ == '__main__': - compiler = nuitka.Status() + compiler = nuitka.CompilerHelper() # 修改 python 执行文件 为 运行时的 python compiler.python_cmd = sys.executable