]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
PERSALYS 14.0.1: on Ubuntu 22.04 symbolic link named site-packages to dist-packages
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 11 Apr 2023 13:15:28 +0000 (15:15 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 11 Apr 2023 13:15:28 +0000 (15:15 +0200)
products/compil_scripts/PERSALYS-v14.0.1.sh

index 2a518aabb4e8860bddec641a1f5331bae585c9af..afec42f02e087dd71592cfb1abf9f462ce5c2808 100755 (executable)
@@ -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"