From 87754027c282f8537b3735b55b3c0fb3423530e4 Mon Sep 17 00:00:00 2001 From: w8sl <100048048+w8sl@users.noreply.github.com> Date: Sun, 26 May 2024 00:12:23 +0200 Subject: [PATCH] Update venv install besed on PR #248 --- z_Install_O4XP_Python3.12_Venv.sh | 9 ++++++++- z_Install_O4XP_macOS_Python3.11_Venv.sh | 11 +++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/z_Install_O4XP_Python3.12_Venv.sh b/z_Install_O4XP_Python3.12_Venv.sh index 1bcd4338..5cee72c8 100644 --- a/z_Install_O4XP_Python3.12_Venv.sh +++ b/z_Install_O4XP_Python3.12_Venv.sh @@ -36,7 +36,14 @@ pip install $venv_path/scikit-fmm # 6. DONE echo " " -echo "Python 3.12 virtual environment has been created in $SCRIPT_DIR/venv-ortho directory" + +if [ -d "$venv_path/bin" ]; then + echo "Python virtual environment has been created in $venv_path directory" +fi + +echo " " +echo "Python version:" +python --version echo " " echo "Installed packages:" pip list diff --git a/z_Install_O4XP_macOS_Python3.11_Venv.sh b/z_Install_O4XP_macOS_Python3.11_Venv.sh index aa824431..592791e9 100644 --- a/z_Install_O4XP_macOS_Python3.11_Venv.sh +++ b/z_Install_O4XP_macOS_Python3.11_Venv.sh @@ -26,7 +26,14 @@ pip install scikit-fmm # 6. DONE echo " " -echo "Python 3.11 virtual environment has been created in $SCRIPT_DIR/venv-ortho directory" + +if [ -d "$venv_path/bin" ]; then + echo "Python virtual environment has been installed in $venv_path directory" +fi + +echo " " +echo "Python version:" +python --version echo " " echo "Installed packages:" pip list @@ -37,4 +44,4 @@ echo " " echo " " echo "Use $SCRIPT_DIR/z_Start_O4XP_PythonVenv.sh to start O4XP" echo " " -echo " " +echo " " \ No newline at end of file