-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_windows.bat
More file actions
47 lines (38 loc) · 1.3 KB
/
Copy pathbuild_windows.bat
File metadata and controls
47 lines (38 loc) · 1.3 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
@echo off
:: Build Windows executables for all CSV Tools scripts:
:: CSVProcessor, CSVSplitter, and CSV Search + AI
:: Requires Python and PyInstaller installed
:: Set up virtual environment
python -m venv venv
call venv\Scripts\activate.bat
:: Install dependencies
pip install --upgrade pip
pip install pandas pyinstaller
:: Create output directory if it doesn't exist
if not exist dist mkdir dist
:: Build csvprocessor.exe
pyinstaller --onefile --noconsole ^
--name "CSVProcessor" ^
--icon "assets\icon.ico" ^
--add-data "assets;assets" ^
csvprocessor.py
:: Build csvsplitter.exe
pyinstaller --onefile --noconsole ^
--name "CSVSplitter" ^
--icon "assets\icon.ico" ^
--add-data "assets;assets" ^
csvsplitter.py
:: Build csvsearchai.exe (CSV Search + AI - Gemini)
pyinstaller --onefile --noconsole ^
--name "CSVSearchAI" ^
--icon "assets\icon.ico" ^
--add-data "assets;assets" ^
csvsearchai.py
:: Copy executables to dist folder (if needed)
copy "dist\CSVProcessor.exe" "dist\"
copy "dist\CSVSplitter.exe" "dist\"
copy "dist\CSVSearchAI.exe" "dist\"
:: Create installer (optional)
:: Requires NSIS installed (https://nsis.sourceforge.io/Download)
makensis installer.nsi
pause