Skip to content

Commit d300796

Browse files
committed
fix
1 parent 2ef029c commit d300796

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
@@ -2,12 +2,13 @@
22
# This is expected to have the form X.Y.
33
# The corresponding requirements file is requirements-dev-pyXY.txt.
44
PYTHON_VERSION ?= 3.13
5+
PYTHON_VERSION_NO_DOTS = $(subst .,,$(PYTHON_VERSION))
56

67
# Generate requirements filename based on Python version
7-
REQUIREMENTS_FILE = requirements-dev-py$(subst .,,$(PYTHON_VERSION)).txt
8+
REQUIREMENTS_FILE = requirements-dev-py$(PYTHON_VERSION_NO_DOTS).txt
89

910
dev-env:
10-
python$(PYTHON_VERSION) -m venv .venv$(PYTHON_VERSION)
11+
python$(PYTHON_VERSION) -m venv .venv$(PYTHON_VERSION_NO_DOTS)
1112
ifeq ($(OS), Windows_NT)
1213
.venv$(PYTHON_VERSION)\Scripts\activate
1314
else

0 commit comments

Comments
 (0)