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