Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@ else
echo " mujoco_menagerie already present, skipping"
fi

echo ""
echo "==> Removing stale per-package venvs (workspace uses shared root .venv)..."
# `uv run` inside a workspace member with its own .venv ignores the shared
# workspace venv, which is a common silent footgun. See robot-code#62.
shopt -s nullglob
for d in */.venv; do
echo " removing $d"
rm -rf "$d"
done
shopt -u nullglob

echo ""
echo "==> Installing Python workspace (uv sync)..."
uv sync
Expand Down
Loading