From: Nabil Ghodbane Date: Tue, 11 Apr 2023 13:15:28 +0000 (+0200) Subject: PERSALYS 14.0.1: on Ubuntu 22.04 symbolic link named site-packages to dist-packages X-Git-Tag: V9_11_0~62 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea288d72443ae94cc8e99f4df63771b353eac788;p=tools%2Fsat_salome.git PERSALYS 14.0.1: on Ubuntu 22.04 symbolic link named site-packages to dist-packages --- 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"