Skip to content

Commit

Permalink
Fix venv creation for the local Python using uv (#1498)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Jan 20, 2025
1 parent ff5cf4a commit 4d0d0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ensure-venv:
@if [ ! -d $(VENVDIR) ] ; then \
echo "Creating venv in $(VENVDIR)"; \
if $(UV) --version >/dev/null 2>&1; then \
$(UV) venv $(VENVDIR); \
$(UV) venv --python=$(PYTHON) $(VENVDIR); \
VIRTUAL_ENV=$(VENVDIR) $(UV) pip install -r $(REQUIREMENTS); \
else \
$(PYTHON) -m venv $(VENVDIR); \
Expand Down

0 comments on commit 4d0d0a4

Please sign in to comment.