fix dependency issue

This commit is contained in:
2025-01-24 10:51:00 +01:00
parent cef79c9375
commit 20b53cea69
2 changed files with 4 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ if exist .venv (
call .venv\Scripts\activate.bat call .venv\Scripts\activate.bat
) else ( ) else (
REM Run uv sync if .venv does not exist REM Run uv sync if .venv does not exist
uv sync --no-dev uv sync
call .venv\Scripts\activate.bat call .venv\Scripts\activate.bat
) )
@@ -13,9 +13,7 @@ REM Perform a git pull
git pull git pull
REM Run uv sync if .venv exists (already activated) REM Run uv sync if .venv exists (already activated)
if exist .venv ( uv sync --no-dev
uv sync --no-dev
)
REM Start main.py REM Start main.py
uv run python main.py uv run python main.py

View File

@@ -4,7 +4,7 @@ if (Test-Path .venv) {
.\.venv\Scripts\Activate.ps1 .\.venv\Scripts\Activate.ps1
} else { } else {
# Run uv sync if .venv does not exist # Run uv sync if .venv does not exist
uv sync --no-dev uv sync
.\.venv\Scripts\Activate.ps1 .\.venv\Scripts\Activate.ps1
} }
@@ -12,9 +12,7 @@ if (Test-Path .venv) {
git pull git pull
# Run uv sync if .venv exists (already activated) # Run uv sync if .venv exists (already activated)
if (Test-Path .venv) { uv sync --no-dev
uv sync --no-dev
}
# Start main.py # Start main.py
uv run python main.py uv run python main.py