forked from rdale-dev/csv-to-xml-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
37 lines (33 loc) · 968 Bytes
/
setup.bat
File metadata and controls
37 lines (33 loc) · 968 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
@echo off
echo ============================================================
echo SBA CSV-to-XML Tool - Setup
echo ============================================================
echo.
REM Check if Python is installed
python --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Python is not installed.
echo.
echo Please download Python from https://www.python.org/downloads/
echo IMPORTANT: Check "Add Python to PATH" during installation.
echo.
pause
exit /b 1
)
echo Installing required packages...
pip install -r requirements.txt
echo.
if errorlevel 1 (
echo ERROR: Failed to install packages.
echo Try running this as Administrator.
pause
exit /b 1
)
echo ============================================================
echo Setup complete! You can now run the tool.
echo.
echo To start: double-click "run.bat"
echo Or type: python run.py
echo ============================================================
echo.
pause