ADM-Purchasing-Tools / app /build_windows.bat
abdulsalam2121
Add automation bot with Flask and Playwright
5b29309
Raw
History Blame Contribute Delete
444 Bytes
@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