mirror of
https://github.com/vegu-ai/talemate.git
synced 2025-12-24 07:29:25 +01:00
windows installs from requirements.txt because of silly permission issues
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user