1 # Set URE_BOOTSTRAP so that "uno.getComponentContext()" bootstraps a complete
3 : ${URE_BOOTSTRAP=vnd.sun.star.pathname:$sd_prog/../Resources/fundamentalrc}
6 PYTHONHOME
=$sd_prog/..
/Frameworks
/LibreOfficePython.framework
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}
14 exec "$PYTHONHOME/Versions/%%PYVERSION%%/Resources/Python.app/Contents/MacOS/LibreOfficePython" "$@"