We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60c91ef commit ef4b913Copy full SHA for ef4b913
Makefile
@@ -1,6 +1,7 @@
1
UV := uv
2
PYTHON_VERSION := 3.11
3
UV_INSTALL_SCRIPT := https://astral.sh/uv/install.sh
4
+PATH := $(HOME)/.local/bin:$(PATH)
5
6
command_exists = $(shell command -v $(1) >/dev/null 2>&1 && echo true || echo false)
7
@@ -16,6 +17,10 @@ check-uv: ## Check and install uv if necessary
16
17
else \
18
echo "📦 uv is not installed. Installing uv..."; \
19
curl -LsSf $(UV_INSTALL_SCRIPT) | sh; \
20
+ fi; \
21
+ if ! command -v $(UV) >/dev/null 2>&1; then \
22
+ echo "❌ uv is not in your PATH. Please add the uv installation directory to your PATH environment variable."; \
23
+ exit 1; \
24
fi
25
26
.PHONY: install-python
0 commit comments