Skip to content

Commit

Permalink
Favor uv to deploy python
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-f-cruz committed Dec 16, 2024
1 parent 679f79b commit 4faf7d3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ Write-Output "Creating a Python environment..."
if (Test-Path -Path ./.venv) {
Remove-Item ./.venv -Recurse -Force
}
&python -m venv ./.venv
.\.venv\Scripts\Activate.ps1
&uv venv
Write-Output "Installing python packages..."
&pip install .
&uv sync --extra launcher
Write-Output "Creating a Bonsai environment and installing packages..."
Set-Location "bonsai"
.\setup.ps1
Expand Down

0 comments on commit 4faf7d3

Please sign in to comment.