测试?

This commit is contained in:
shenjack 2023-09-20 00:20:48 +08:00
parent d538b2ed60
commit 91acbc490c
Signed by: shenjack
GPG Key ID: 7B1134A979775551
3 changed files with 5 additions and 2 deletions

View File

@ -73,7 +73,9 @@ class CompilerHelper(Options):
use_clang: bool = True # --clang use_clang: bool = True # --clang
use_msvc: bool = True # --msvc=latest use_msvc: bool = True # --msvc=latest
use_mingw: bool = False # --mingw64 use_mingw: bool = False # --mingw64
onefile: bool = False # --onefile onefile: bool = False # --onefile
onefile_tempdir: Optional[str] = '' # --onefile-tempdir-spec=
standalone: bool = True # --standalone standalone: bool = True # --standalone
use_ccache: bool = True # not --disable-ccache use_ccache: bool = True # not --disable-ccache
enable_console: bool = True # --enable-console / --disable-console enable_console: bool = True # --enable-console / --disable-console
@ -182,6 +184,7 @@ class CompilerHelper(Options):
cmd_list += format_cmd('--mingw64' if self.use_mingw else None) cmd_list += format_cmd('--mingw64' if self.use_mingw else None)
cmd_list += format_cmd('--standalone' if self.standalone else None) cmd_list += format_cmd('--standalone' if self.standalone else None)
cmd_list += format_cmd('--onefile' if self.onefile else None) cmd_list += format_cmd('--onefile' if self.onefile else None)
cmd_list += format_cmd('--onefile-tempdir-spec=', self.onefile_tempdir, self.onefile_tempdir)
cmd_list += format_cmd('--disable-ccache' if not self.use_ccache else None) cmd_list += format_cmd('--disable-ccache' if not self.use_ccache else None)
cmd_list += format_cmd('--show-progress' if self.show_progress else None) cmd_list += format_cmd('--show-progress' if self.show_progress else None)

View File

@ -18,7 +18,7 @@ defusedxml >= 0.7.1
objprint >= 0.2.2 objprint >= 0.2.2
# for compile # for compile
nuitka >= 1.8.1 nuitka >= 1.8.2
ordered-set >= 4.1.0 ordered-set >= 4.1.0
imageio >= 2.31.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython" imageio >= 2.31.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython"
wheel >= 0.40.0 wheel >= 0.40.0

View File

@ -21,7 +21,7 @@ viztracer >= 0.15.6; platform_python_implementation != "PyPy"
vizplugins >= 0.1.3; platform_python_implementation != "PyPy" vizplugins >= 0.1.3; platform_python_implementation != "PyPy"
# for compile # for compile
nuitka >= 1.8.1 nuitka >= 1.8.2
ordered-set >= 4.1.0 ordered-set >= 4.1.0
imageio >= 2.31.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython" imageio >= 2.31.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython"
wheel >= 0.40.0 wheel >= 0.40.0