Feature/python build #25

Merged
shenjackyuanjie merged 28 commits from feature/python_build into main 2023-06-10 19:02:01 +08:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 3ac6e8a54e - Show all commits

View File

@ -13,8 +13,8 @@ from typing import List, Tuple
from Difficult_Rocket.api.types import Options, Version from Difficult_Rocket.api.types import Options, Version
class Status(Options): class CompilerHelper(Options):
name = 'Nuitka Build Status' name = 'Nuitka Compiler Helper'
output_path: Path = Path("./build/nuitka-win") output_path: Path = Path("./build/nuitka-win")
src_file: Path = Path('DR.py') src_file: Path = Path('DR.py')

View File

@ -10,7 +10,7 @@ import subprocess
from libs.utils import nuitka from libs.utils import nuitka
if __name__ == '__main__': if __name__ == '__main__':
compiler = nuitka.Status() compiler = nuitka.CompilerHelper()
# 修改 python 执行文件 为 运行时的 python # 修改 python 执行文件 为 运行时的 python
compiler.python_cmd = sys.executable compiler.python_cmd = sys.executable