25 lines
678 B
Batchfile
25 lines
678 B
Batchfile
@echo off
|
|
:: Build a standalone Windows executable with PyInstaller.
|
|
:: Output: dist\VoiceRefCurator\VoiceRefCurator.exe
|
|
cd /d "%~dp0"
|
|
call ..\.venv\Scripts\activate.bat
|
|
|
|
pip install pyinstaller --quiet
|
|
|
|
pyinstaller ^
|
|
--windowed ^
|
|
--onedir ^
|
|
--name VoiceRefCurator ^
|
|
--paths src ^
|
|
--hidden-import voice_ref_curator ^
|
|
--hidden-import voice_ref_curator.analyser ^
|
|
--hidden-import voice_ref_curator.gui ^
|
|
src\voice_ref_curator\__main__.py
|
|
|
|
echo.
|
|
echo ============================================================
|
|
echo Build complete.
|
|
echo Executable: dist\VoiceRefCurator\VoiceRefCurator.exe
|
|
echo ============================================================
|
|
pause
|