From 15349c939045d0ef71923741e36244549c8d7968 Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Sat, 15 Nov 2025 11:42:13 +0100 Subject: [PATCH] Allow specifying Python version for virtual environment creation --- make-venv.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make-venv.sh b/make-venv.sh index 8e80f10..e320194 100755 --- a/make-venv.sh +++ b/make-venv.sh @@ -1,6 +1,8 @@ #! /usr/bin/env bash -python3 -m venv .venv +VERSION="${1:-3}" + +python${VERSION} -m venv .venv ./.venv/bin/pip install --upgrade pip ./.venv/bin/pip install -r requirements.txt