2023-06-04 19:45:17 +01:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
set scriptdir=%~dp0
|
|
|
|
set scriptdir=%scriptdir:~0,-1%
|
|
|
|
|
2023-11-26 21:10:42 +00:00
|
|
|
set venvname=standalone
|
2023-06-04 19:45:17 +01:00
|
|
|
set venvscripts=%scriptdir%\%venvname%\Scripts
|
|
|
|
|
|
|
|
set venvpython=%venvscripts%\python.exe
|
|
|
|
|
|
|
|
cd /D "%scriptdir%"
|
|
|
|
|
|
|
|
python -m venv "%venvname%"
|
|
|
|
|
2023-11-26 21:10:42 +00:00
|
|
|
"%venvpython%" -m pip install --upgrade nuitka -r requirements-win32.txt
|
2023-06-04 19:45:17 +01:00
|
|
|
|
2023-11-26 21:10:42 +00:00
|
|
|
"%venvpython%" -m nuitka --standalone --onefile --deployment --disable-console --windows-icon-from-ico=nxdt.ico --enable-plugin=tk-inter nxdt_host.py
|
2021-03-20 01:59:53 +00:00
|
|
|
|
2023-11-26 21:10:42 +00:00
|
|
|
rmdir /s /q nxdt_host.build
|
|
|
|
rmdir /s /q nxdt_host.dist
|
|
|
|
rmdir /s /q nxdt_host.onefile-build
|
|
|
|
rmdir /s /q standalone
|
2023-06-04 19:45:17 +01:00
|
|
|
|
|
|
|
pause
|