-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
39 lines (33 loc) · 1011 Bytes
/
build.bat
File metadata and controls
39 lines (33 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@echo off
REM Build script for Python GUI Menu Application (Windows)
REM This is a simple wrapper that calls the Python build script
echo ================================================
echo Building Python GUI Menu Application
echo ================================================
REM Check if Python is available
python --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Python is not installed or not in PATH
echo Please install Python 3.8 or later and add it to your PATH
pause
exit /b 1
)
REM Check if build requirements file exists
if not exist "requirements_build.txt" (
echo ERROR: requirements_build.txt not found
echo Please make sure you're running this from the project directory
pause
exit /b 1
)
REM Run the Python build script
echo Running Python build script...
python build.py
if errorlevel 1 (
echo.
echo Build failed. Check the error messages above.
pause
exit /b 1
)
echo.
echo Build completed! Check the output above for details.
pause