Changed SH script to use virtual environments

This commit is contained in:
Mathias Lesauvage
2023-12-11 15:53:28 +01:00
parent 5809cd0349
commit 532e849dea
3 changed files with 9 additions and 4 deletions

3
.gitignore vendored
View File

@@ -55,4 +55,5 @@ build/main/*
TSH_old.exe
main.spec
*.tmp
logs/*
logs/*
Pipfile*

5
TSH.sh
View File

@@ -1,4 +1,5 @@
#!/bin/bash
python3 -m pip install -r dependencies/requirements.txt
python3 main.py
python3 -m pip install pipenv
python3 -m pipenv install -r dependencies/requirements.txt
python3 -m pipenv run python main.py

View File

@@ -1 +1,4 @@
python.exe main.py
@echo off
python.exe -m pip install pipenv
python.exe -m pipenv install -r "dependencies/requirements.txt"
python.exe -m pipenv run python "./main.py"