This commit is contained in:
@@ -0,0 +1,31 @@
|
|||||||
|
@echo off
|
||||||
|
REM PaperDash Server Build Script
|
||||||
|
REM Creates venv, installs dependencies, and builds PaperDash.exe
|
||||||
|
|
||||||
|
setlocal
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
|
||||||
|
REM Create venv if it doesn't exist
|
||||||
|
if not exist "venv" (
|
||||||
|
echo Creating virtual environment...
|
||||||
|
python -m venv venv
|
||||||
|
)
|
||||||
|
|
||||||
|
REM Activate venv
|
||||||
|
call venv\Scripts\activate.bat
|
||||||
|
|
||||||
|
REM Install dependencies
|
||||||
|
echo Installing dependencies...
|
||||||
|
pip install --upgrade pip
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
REM Build the .exe
|
||||||
|
echo Building PaperDash.exe...
|
||||||
|
python build_exe.py
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo Build complete!
|
||||||
|
echo Output: dist\PaperDash.exe
|
||||||
|
echo.
|
||||||
|
pause
|
||||||
Reference in New Issue
Block a user