]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Rolback 20097. adding definition PYTHONHOME variable
authormaintenance team <salome-mnt@opencascade.com>
Thu, 26 Mar 2009 08:11:31 +0000 (08:11 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Thu, 26 Mar 2009 08:11:31 +0000 (08:11 +0000)
config_files/Python-2.4.4.sh

index ac429ae83916347ea580953d2fb34a0818a3b74c..7534b7494d492ca4a313d0b6d720fbc2a3537d4c 100755 (executable)
@@ -35,6 +35,7 @@ print_env_bin()
 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
 #$DELIM ${PRODUCT_TYPE} $DELIM
 export PYTHONROOT=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PYTHONHOME=\$PYTHONROOT
 export PATH=\${PYTHONROOT}/bin:\${PATH}
 export LD_LIBRARY_PATH=\${PYTHONROOT}/lib:\${LD_LIBRARY_PATH}
 export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\`