Skip to content

Commit

Permalink
更新打包脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
leidawt committed Jun 20, 2023
1 parent 0827b39 commit 5950756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Binary file removed PicoAWG.exe
Binary file not shown.
5 changes: 2 additions & 3 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@REM NOTE: To reduce package size, we only compile PicoAWG.py and picoawg_driver.py into PicoAWG.exe, the other dependences (e.g. *.png numpy, matplotlib) are not included.
nuitka --disable-console --follow-import-to=picoawg_driver --nofollow-imports --output-dir=dist --windows-icon-from-ico=./icon.ico --remove-output PicoAWG.py
python -m nuitka --disable-console --standalone --nofollow-import-to=numpy --enable-plugin=tk-inter --output-dir=dist --windows-icon-from-ico=./icon.ico --include-data-files=./icon.png=./icon.png --remove-output PicoAWG.py

xcopy /y .\dist\PicoAWG.exe .\
@REM xcopy /y .\dist\PicoAWG.exe .\

0 comments on commit 5950756

Please sign in to comment.