Skip to content

Commit 712b20a

Browse files
committed
self update own makefile with current state of the repository
1 parent c071ebd commit 712b20a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ endif
236236

237237
# Determine the package installer with non-interactive flags
238238
ifeq ("$(PYTHON_PACKAGE_INSTALLER)","uv")
239-
PYTHON_PACKAGE_COMMAND=uv pip --quiet --no-progress
239+
PYTHON_PACKAGE_COMMAND=uv pip --no-progress
240240
else
241241
PYTHON_PACKAGE_COMMAND=$(MXENV_PYTHON) -m pip
242242
endif
@@ -249,6 +249,10 @@ UV_AVAILABLE:=false
249249
endif
250250

251251
# Determine installation strategy
252+
# depending on the PYTHON_PACKAGE_INSTALLER and UV_AVAILABLE
253+
# - both vars can be false or
254+
# - one of them can be true,
255+
# - but never boths.
252256
USE_GLOBAL_UV:=$(shell [[ "$(PYTHON_PACKAGE_INSTALLER)" == "uv" && "$(UV_AVAILABLE)" == "true" ]] && echo "true" || echo "false")
253257
USE_LOCAL_UV:=$(shell [[ "$(PYTHON_PACKAGE_INSTALLER)" == "uv" && "$(UV_AVAILABLE)" == "false" ]] && echo "true" || echo "false")
254258

@@ -284,7 +288,7 @@ ifeq ("$(VENV_ENABLED)", "true")
284288
ifeq ("$(VENV_CREATE)", "true")
285289
ifeq ("$(USE_GLOBAL_UV)","true")
286290
@echo "Setup Python Virtual Environment using global uv at '$(VENV_FOLDER)'"
287-
@uv venv --quiet --no-progress -p $(UV_PYTHON) --seed $(VENV_FOLDER)
291+
@uv venv --allow-existing --no-progress -p $(UV_PYTHON) --seed $(VENV_FOLDER)
288292
else
289293
@echo "Setup Python Virtual Environment using module 'venv' at '$(VENV_FOLDER)'"
290294
@$(PRIMARY_PYTHON) -m venv $(VENV_FOLDER)

0 commit comments

Comments
 (0)