From 78aa5423ed31d529a7705874ed3146f90e7169a9 Mon Sep 17 00:00:00 2001 From: Muzzammil Shahid Date: Thu, 1 Aug 2024 19:24:46 +0500 Subject: [PATCH] Use uv for virtualenv --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 06736f1..70c0171 100644 --- a/Makefile +++ b/Makefile @@ -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 .