Salome HOME
spns #24421 cannot execute jupyter-notebook within salome context
[tools/sat_salome.git] / products / compil_scripts / Python.sh
index 4f5be6a40eed19e131acd839b79f38e794fb7e61..c53e74502c2d04918681ea9f7e6b33260d0998b4 100755 (executable)
@@ -21,7 +21,7 @@ if version_ge $VERSION "3.6"; then
     # --without-pymalloc: disable specialized mallocs
     # --with-ensurepip  : installation using bundled pip
     # --enable-optimizations:  recommandé et utilisé par Nijni -> mais trop long!
-    CONFIGURE_ARGUMENTS="--enable-shared --with-threads --without-pymalloc --with-ensurepip=install"
+    CONFIGURE_ARGUMENTS="--enable-shared --with-threads --without-pymalloc --with-ensurepip=install --with-ssl --with-pydebug --enable-loadable-sqlite-extensions"
 else
     echo "*** Python version is older than version 3.6 ..."
     CONFIGURE_ARGUMENTS="--enable-shared --with-threads --without-pymalloc --enable-unicode=ucs4"
@@ -78,6 +78,7 @@ if [ ${PYTHON_VERSION_MAJ} == 3 ]
 then
     cd ${PRODUCT_INSTALL}/bin
     ln -s python3 python
+    ln -s pip3 pip
 fi
 
 # fix the path...