fix dependency issue
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user