Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 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
18 changes: 18 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Automatically activate Python venv and sync dependencies on cd
# Requires: direnv (https://direnv.net/)
# Install: sudo apt install direnv && echo 'eval "$(direnv hook bash)"' >> ~/.bashrc

# Create venv if it doesn't exist
if [[ ! -d .venv ]]; then
echo "Creating .venv with uv..."
uv venv .venv
fi

# Activate the venv
source .venv/bin/activate

# Ensure dependencies are synced
uv sync --quiet

# Set PYO3 to use this venv's Python
export PYO3_PYTHON="${PWD}/.venv/bin/python"
191 changes: 0 additions & 191 deletions .github/workflows/ci-minimal.yml

This file was deleted.

Loading
Loading