update some nuitka build
This commit is contained in:
parent
d0dcf50b6b
commit
a8f5373fed
@ -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')
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user