Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / pyuno / zipcore / mac.sh
blob830bcdaa10b229dfec7f444e2560dc918b645de0
1 # Set URE_BOOTSTRAP so that "uno.getComponentContext()" bootstraps a complete
2 # OOo UNO environment:
3 : ${URE_BOOTSTRAP=vnd.sun.star.pathname:$sd_prog/../Resources/fundamentalrc}
4 export URE_BOOTSTRAP
6 PYTHONHOME=$sd_prog/../Frameworks/LibreOfficePython.framework
7 export PYTHONHOME
9 pybasislibdir=$PYTHONHOME/Versions/%%PYVERSION%%/lib/python%%PYVERSION%%
10 PYTHONPATH=$sd_prog/../Resources:$sd_prog/../Frameworks:$pybasislibdir:$pybasislibdir/lib-dynload:$pybasislibdir/lib-tk:$pybasislibdir/site-packages${PYTHONPATH+:$PYTHONPATH}
11 export PYTHONPATH
13 # execute binary
14 exec "$PYTHONHOME/Versions/%%PYVERSION%%/Resources/Python.app/Contents/MacOS/LibreOfficePython" "$@"