Spaces:
Sleeping
Sleeping
| @echo off | |
| REM Build a Windows executable using PyInstaller from the venv | |
| SETLOCAL | |
| if not exist .venv\Scripts\activate.bat ( | |
| python -m venv .venv | |
| ) | |
| call .venv\Scripts\activate.bat | |
| pip install --upgrade pip | |
| pip install -r requirements.txt pyinstaller | |
| REM Build one-file executable (GUI app) | |
| .venv\Scripts\pyinstaller.exe --noconfirm --onefile --windowed --name "ADM PURCHASING TOOLS" app.py | |
| echo Build complete. See dist\ADMBot.exe | |
| ENDLOCAL | |