Skip to content

Commit

Permalink
Use uv for virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
muzzammilshahid committed Aug 1, 2024
1 parent 0992bf3 commit 78aa542
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
install_uv:
@if ! command -v uv >/dev/null 2>&1; then \
curl -LsSf https://astral.sh/uv/install.sh | sh; \
fi

setup:
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
make install_uv
uv venv
uv pip install -r requirements.txt

lint:
./.venv/bin/ruff format .
Expand Down

0 comments on commit 78aa542

Please sign in to comment.