15 lines
579 B
Batchfile
15 lines
579 B
Batchfile
echo off
|
|
pyinstaller.exe --add-data="..\.venv\Lib\site-packages\text_unidecode\data.bin";.\text_unidecode ^
|
|
--icon="..\spex\logo.ico" ^
|
|
--paths ./libbananasplit --paths ./UserInterface/compiledUI ^
|
|
--name=SPEx.exe ^
|
|
--onefile ^
|
|
--windowed -y ^
|
|
..\spex\guimain.py | rem
|
|
echo "Copio i file di configurazione..."
|
|
robocopy /E ..\conf .\dist\conf
|
|
echo "Sposto la cartella con l'exe"
|
|
robocopy /E /MOVE .\dist ..\bin\
|
|
echo "Rimuovo la cartella di build"
|
|
rmdir /s /q .\build .\dist
|
|
echo on |