mirror of
https://github.com/naruxde/revpicommander.git
synced 2025-11-09 00:53:53 +01:00
Add PyInstaller script for Windows
This commit is contained in:
18
make_installer_win.bat
Normal file
18
make_installer_win.bat
Normal file
@@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
set PACKAGE=revpicommander
|
||||
|
||||
rem python -m venv venv
|
||||
rem venv\\Scripts\\activate.bat
|
||||
rem pip install -r requirements.txt
|
||||
|
||||
pyinstaller -n "RevPi Commander" ^
|
||||
--add-data="src\%PACKAGE%\locale;.\revpicommander\locale" ^
|
||||
--add-data="data\%PACKAGE%.ico;." ^
|
||||
--icon=data\\%PACKAGE%.ico ^
|
||||
--noconfirm ^
|
||||
--clean ^
|
||||
--onedir ^
|
||||
--windowed ^
|
||||
src\\%PACKAGE%\\__main__.py
|
||||
|
||||
rem deactivate
|
||||
Reference in New Issue
Block a user