Skip to content

Commit 4dc04de

Browse files
committed
specify python version in uv venv creation
1 parent 4a18b64 commit 4dc04de

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ endif
1212
SHELL:=zsh -eu -o pipefail -o null_glob
1313
SELF:=$(firstword $(MAKEFILE_LIST))
1414

15-
VE_DIR=venv
15+
VE_DIR:=venv
16+
PY_VERSION:=3.13
1617

1718
TEST_DIRS:=tests
1819
DOC_TESTS:=src ./README.md
@@ -40,7 +41,7 @@ devready:
4041

4142
#=> venv: make a Python 3 virtual environment
4243
${VE_DIR}:
43-
uv venv $@
44+
uv venv --python ${PY_VERSION} $@
4445

4546
#=> develop: install package in develop mode
4647
.PHONY: develop

0 commit comments

Comments
 (0)