From 04efb8ec7ea98fd792eeed587bead593f41bfd4a Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 23 Feb 2024 18:38:31 +0100 Subject: [PATCH] update gitignore + conf build nuitka --- .gitignore | 5 +++++ IOB-WIN-PSER/NuitkacreateExe.bat | 13 ++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c125c47d..2dec300a 100644 --- a/.gitignore +++ b/.gitignore @@ -338,3 +338,8 @@ IOB-WIN-PSER/logs/*/*.txt IOB-WIN-PSER/dist/CONF/*.cfg IOB-WIN-PSER/dist/logs/*/*.txt IOB-WIN-PSER/dist/*.exe +IOB-WIN-PSER/dist-nuitka/*.exe +IOB-WIN-PSER.build/ +IOB-WIN-PSER.dist/ +IOB-WIN-PSER.onefile-build/ + diff --git a/IOB-WIN-PSER/NuitkacreateExe.bat b/IOB-WIN-PSER/NuitkacreateExe.bat index 8ff55b10..96d54e55 100644 --- a/IOB-WIN-PSER/NuitkacreateExe.bat +++ b/IOB-WIN-PSER/NuitkacreateExe.bat @@ -1,10 +1,17 @@ REM script creazione EXE da python con Nuitka +REM https://nuitka.net/ +REM https://nuitka.net/doc/user-manual.html + +RMDIR /S /Q dist-nuitka +MKDIR dist-nuitka -python -m nuitka --standalone --windows-icon-from-ico=SteamWare.ico IOB-WIN-PSER.py @REM python -m nuitka --standalone IOB-WIN-PSER.py -@REM python -m nuitka --onefile --windows-icon-from-ico=SteamWare.ico IOB-WIN-PSER.py @REM python -m nuitka --onefile IOB-WIN-PSER.py +@REM python -m nuitka --standalone --windows-icon-from-ico=SteamWare.ico IOB-WIN-PSER.py +python -m nuitka --onefile --windows-icon-from-ico=SteamWare.ico IOB-WIN-PSER.py +REM sposto in folder dist +move IOB-WIN-PSER.exe dist-nuitka/IOB-WIN-PSER.exe REM effettua copia delle conf x poter avviare... -xcopy CONF\*.cfg dist\CONF\ +xcopy CONF\*.cfg dist-nuitka\CONF\