From d4d771449da3cb3dda6537a5a3b3c2f2864fe0f6 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Mon, 30 Dec 2024 13:52:33 +0800 Subject: [PATCH] feat: add setup command to Python installation script - Introduced a new "setup" command in the Python installation script to facilitate the setup of pyenv. - This enhancement improves the usability of the script by allowing users to easily configure their Python environment. --- docker/base-image/install/python/python.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/base-image/install/python/python.sh b/docker/base-image/install/python/python.sh index 0ede9ee5..65e73c19 100644 --- a/docker/base-image/install/python/python.sh +++ b/docker/base-image/install/python/python.sh @@ -109,6 +109,9 @@ version="${2:-3.12.8}" requirements="${3:-}" case $command in + "setup") + setup_pyenv + ;; "install") setup_pyenv # Check if version is already installed