add more info to nuitka build
This commit is contained in:
parent
f112b654c4
commit
26d22f9e82
@ -22,7 +22,7 @@ def _add_cmd(cmd: List[str], string: Optional[Any]) -> List[str]:
|
||||
class CompilerHelper(Options):
|
||||
name = 'Nuitka Compiler Helper'
|
||||
|
||||
output_path: Path = Path("./build/nuitka-win")
|
||||
output_path: Path = Path("./build/nuitka")
|
||||
src_file: Path = Path('DR.py')
|
||||
|
||||
python_cmd: str = 'python'
|
||||
|
@ -9,7 +9,6 @@ import sys
|
||||
import time
|
||||
import shutil
|
||||
import tomlkit
|
||||
import zipfile
|
||||
import platform
|
||||
import traceback
|
||||
import subprocess
|
||||
@ -79,11 +78,13 @@ if __name__ == '__main__':
|
||||
if f'pyglet.{lib}.{name}' in compiler.no_follow_import:
|
||||
compiler.no_follow_import.remove(f'pyglet.{lib}.{name}')
|
||||
|
||||
print(compiler.as_markdown(longest=70))
|
||||
|
||||
if is_github:
|
||||
from pprint import pprint
|
||||
pprint(compiler.option())
|
||||
else:
|
||||
compiler.output_path = Path(f'./build/nuitka-{platform.system().lower()}')
|
||||
|
||||
print(compiler.as_markdown(longest=70))
|
||||
|
||||
print(compiler.gen_subprocess_cmd())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user