windows installs from requirements.txt because of silly permission issues

This commit is contained in:
FinalWombat
2023-11-11 20:06:45 +02:00
parent cc1b7c447e
commit 919e65319c
3 changed files with 6 additions and 12 deletions

View File

@@ -6,11 +6,8 @@ python -m venv talemate_env
REM activate the virtual environment REM activate the virtual environment
call talemate_env\Scripts\activate call talemate_env\Scripts\activate
REM install poetry REM install dependencies from requirements.txt
python -m pip install poetry "rapidfuzz>=3" -U python -m pip install -r requirements.txt
REM use poetry to install dependencies
poetry install
REM copy config.example.yaml to config.yaml only if config.yaml doesn't exist REM copy config.example.yaml to config.yaml only if config.yaml doesn't exist
IF NOT EXIST config.yaml copy config.example.yaml config.yaml IF NOT EXIST config.yaml copy config.example.yaml config.yaml

View File

@@ -8,11 +8,8 @@ python -m venv talemate_env
REM activate the virtual environment REM activate the virtual environment
call talemate_env\Scripts\activate call talemate_env\Scripts\activate
REM install poetry REM install dependencies from requirements.txt
python -m pip install poetry "rapidfuzz>=3" -U python -m pip install -r requirements.txt
REM use poetry to install dependencies
python -m poetry install
echo Virtual environment re-created. echo Virtual environment re-created.
pause pause

View File

@@ -3,8 +3,8 @@
REM activate the virtual environment REM activate the virtual environment
call talemate_env\Scripts\activate call talemate_env\Scripts\activate
REM use poetry to install dependencies REM update dependencies from requirements.txt
python -m poetry install python -m pip install -r requirements.txt --upgrade
echo Virtual environment re-created. echo Virtual environment re-created.
pause pause