]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Update PYTHONPATH variable for xdata
authormaintenance team <salome-mnt@opencascade.com>
Tue, 30 Oct 2007 07:44:33 +0000 (07:44 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Tue, 30 Oct 2007 07:44:33 +0000 (07:44 +0000)
config_files/xdata-0.5.51.sh

index f46a52b12d5bb2840a2c468e51aaa9c742786708..1951cca9cd4e5fa605ed2a1f19ba8046d514c326 100755 (executable)
@@ -26,7 +26,7 @@ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
 export XDATAROOT=\${INSTALL_ROOT}/${PRODUCT}
 export PATH=\${XDATAROOT}/bin:\${PATH}
 export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\`
-export PYTHONPATH=\${XDATAROOT}/lib${PYTHON_LIB_PREFIX}/python\${PYTHON_VERSION}:\${PYTHONPATH}
+export PYTHONPATH=\${XDATAROOT}/lib${PYTHON_LIB_PREFIX}/python\${PYTHON_VERSION}/site-packages/xdata:\${PYTHONPATH}
 ##
 EOF
 (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})