Relocate the Python wrapper as entrypoint

This commit is contained in:
Valentin Niess
2020-04-20 18:18:38 +02:00
parent b7cd6d0b85
commit 8378957adf
4 changed files with 37 additions and 62 deletions

View File

@@ -5,5 +5,10 @@ self="$(readlink -f -- $0)"
here="${self%/*}"
APPDIR="${APPDIR:-${here}}"
# Export TCl/Tk
export TCL_LIBRARY="${APPDIR}/usr/share/tcltk/tcl{{ tcl-version }}"
export TK_LIBRARY="${APPDIR}/usr/share/tcltk/tk{{ tk-version }}"
export TKPATH="${TK_LIBRARY}"
# Call the entry point
{{ entrypoint }}