Skip to content

Commit

Permalink
Fix venv creation for the local Python using uv (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Jan 20, 2025
1 parent fec4de6 commit f7c2e24
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 @@ -51,7 +51,7 @@ ensure-venv:
@if [ ! -d $(VENVDIR) ] ; then \
echo "Creating venv in $(VENVDIR)"; \
if uv --version > /dev/null; then \
uv venv $(VENVDIR); \
uv venv --python=$(PYTHON) $(VENVDIR); \
VIRTUAL_ENV=$(VENVDIR) uv pip install -r requirements.txt; \
else \
$(PYTHON) -m venv $(VENVDIR); \
Expand Down

0 comments on commit f7c2e24

Please sign in to comment.