fix venv
This commit is contained in:
@@ -15,6 +15,9 @@ done
|
||||
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
cd "$REPO_ROOT"
|
||||
|
||||
uv venv --python 3.13
|
||||
source .venv/bin/activate
|
||||
|
||||
if [ -d ".venv/bin" ]; then
|
||||
PYTHON=".venv/bin/python"
|
||||
else
|
||||
|
||||
@@ -15,6 +15,9 @@ done
|
||||
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
cd "$REPO_ROOT"
|
||||
|
||||
uv venv --python 3.13
|
||||
source .venv/bin/activate
|
||||
|
||||
if [ -d ".venv/bin" ]; then
|
||||
PYTHON=".venv/bin/python"
|
||||
else
|
||||
|
||||
@@ -30,6 +30,9 @@ function Assert-LastExitCode {
|
||||
$repoRoot = Split-Path -Parent $PSScriptRoot
|
||||
Set-Location $repoRoot
|
||||
|
||||
uv venv --python 3.13
|
||||
./.venv/Scripts/Activate
|
||||
|
||||
$pythonExe = if (Test-Path ".\.venv\Scripts\python.exe") {
|
||||
".\.venv\Scripts\python.exe"
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user