b865ff3d75
... and get rid of LD_LIBRARY_PATH hack in wrapper shell script. Change-Id: I7d91c6086460504d656de7b018087264165f396b
8 lines
368 B
Bash
8 lines
368 B
Bash
|
|
PYTHONPATH=$sd_prog:$sd_prog/python-core-%%PYVERSION%%/lib:$sd_prog/python-core-%%PYVERSION%%/lib/lib-dynload:$sd_prog/python-core-%%PYVERSION%%/lib/lib-tk:$sd_prog/python-core-%%PYVERSION%%/lib/site-packages${PYTHONPATH+:$PYTHONPATH}
|
|
export PYTHONPATH
|
|
PYTHONHOME=$sd_prog/python-core-%%PYVERSION%%
|
|
export PYTHONHOME
|
|
|
|
# execute binary
|
|
exec "$sd_prog/python.bin" "$@"
|