From c51fd850fdc068791efa439488b7480351692d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20P=C3=BChringer?= <51900829+puehringer@users.noreply.github.com> Date: Tue, 3 Sep 2024 10:05:15 +0200 Subject: [PATCH] feat: uv --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9681ef2..c6479dc 100644 --- a/Makefile +++ b/Makefile @@ -39,11 +39,19 @@ documentation: .PHONY: install ## Install the requirements install: - pip install -e . + @if [ ! -z "${CI}" ]; then \ + uv pip install -e . --system; \ + else \ + uv pip install -e .; \ + fi .PHONY: develop ## Set up the development environment develop: - pip install -e .[develop] + @if [ ! -z "${CI}" ]; then \ + uv pip install -e ".[develop]" --system; \ + else \ + uv pip install -e ".[develop]"; \ + fi .PHONY: env_encrypt ## Encrypts the current .//.env env_encrypt: