-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
57 lines (48 loc) · 1.32 KB
/
Copy pathsetup.bat
File metadata and controls
57 lines (48 loc) · 1.32 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@echo off
echo ========================================
echo Export Summary GUI - Setup Script
echo ========================================
echo.
REM Check if Python is installed
python --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] Python is not installed or not in PATH
echo.
echo Please install Python from: https://www.python.org/downloads/
echo Make sure to check "Add Python to PATH" during installation
echo.
pause
exit /b 1
)
echo [OK] Python is installed
python --version
echo.
echo Installing required packages...
echo.
echo [1/2] Installing q-text-as-data (CSV query tool)...
pip install q-text-as-data
if errorlevel 1 (
echo [WARNING] Failed to install q-text-as-data
) else (
echo [OK] q-text-as-data installed
)
echo.
echo [2/2] Installing odfpy (Spreadsheet formatting)...
pip install odfpy
if errorlevel 1 (
echo [WARNING] Failed to install odfpy
echo Formatting may not work, but basic functionality will
) else (
echo [OK] odfpy installed
)
echo.
echo ========================================
echo Setup Complete!
echo ========================================
echo.
echo Application available:
echo - Transaction Manager: launch_transaction_manager.bat
echo.
echo Press any key to launch Transaction Manager now...
pause >nul
python transaction_manager_gui.py