From 7953d81e91fffe790ea784477b93e68cb9e614ca Mon Sep 17 00:00:00 2001
From: BIRK Renaud <renaud.birk@imt-atlantique.net>
Date: Sun, 9 Mar 2025 11:03:10 +0100
Subject: [PATCH] feat: setup scripts

---
 setup.bat | 7 +++++++
 setup.sh  | 4 ++++
 2 files changed, 11 insertions(+)
 create mode 100644 setup.bat
 create mode 100644 setup.sh

diff --git a/setup.bat b/setup.bat
new file mode 100644
index 0000000..606dc06
--- /dev/null
+++ b/setup.bat
@@ -0,0 +1,7 @@
+@echo off
+pip3 install -r .\requirements.txt
+if %ERRORLEVEL% NEQ 0 (
+    python3 -m pip install -r .\requirements.txt
+)
+echo Setup complete
+echo You can launch the program by running 'python3 .\src\main.py'
diff --git a/setup.sh b/setup.sh
new file mode 100644
index 0000000..c0399eb
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,4 @@
+chmod +rx requirements.txt
+pip3 install -r requirements.txt || python3 -m pip install -r requirements.txt
+echo "Setup complete"
+echo "You can launch the program by running 'python3 .\src\main.py'"
-- 
GitLab