From ea288d72443ae94cc8e99f4df63771b353eac788 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Tue, 11 Apr 2023 15:15:28 +0200 Subject: [PATCH] PERSALYS 14.0.1: on Ubuntu 22.04 symbolic link named site-packages to dist-packages --- products/compil_scripts/PERSALYS-v14.0.1.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/products/compil_scripts/PERSALYS-v14.0.1.sh b/products/compil_scripts/PERSALYS-v14.0.1.sh index 2a518aa..afec42f 100755 --- a/products/compil_scripts/PERSALYS-v14.0.1.sh +++ b/products/compil_scripts/PERSALYS-v14.0.1.sh @@ -125,6 +125,13 @@ if [ -d "${PRODUCT_INSTALL}/lib64" ]; then rmdir ${PRODUCT_INSTALL}/lib64 fi + +if [ -d "${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages" ]; then + echo "WARNING: linking against dist-packages" + cd ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION} + ln -sf dist-packages site-packages +fi + echo echo "########## END" -- 2.39.2