Skip to content

Commit 12464de

Browse files
author
anki
committed
Revert "python entrypoint + xonsh example"
This reverts commit 93211b2
1 parent 93211b2 commit 12464de

3 files changed

Lines changed: 1 addition & 6 deletions

File tree

appimage/recipes/xonsh.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

linuxdeploy-plugin-python.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ script=$(readlink -f $0)
2020
exe_name="$(basename ${APPIMAGE:-$script})"
2121
BASEDIR="${APPDIR:-$(readlink -m $(dirname $script))}"
2222

23-
PYTHON_ENTRYPOINT="${PYTHON_ENTRYPOINT:-}"
2423

2524
# Parse the CLI
2625
show_usage () {
@@ -154,7 +153,6 @@ do
154153
cp "${BASEDIR}/share/python-wrapper.sh" "$python"
155154
sed -i "s|[{][{]PYTHON[}][}]|$python|g" "$python"
156155
sed -i "s|[{][{]PREFIX[}][}]|$prefix|g" "$python"
157-
sed -i "s|[{][{]ENTRYPOINT[}][}]|$PYTHON_ENTRYPOINT|g" "$python"
158156
fi
159157
done
160158

share/python-wrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ fi
3434
# Wrap the call to Python in order to mimic a call from the source
3535
# executable ($ARGV0), but potentially located outside of the Python
3636
# install ($PYTHONHOME)
37-
(PYTHONHOME="${APPDIR}/${prefix}" exec -a "${executable}" "$APPDIR/${prefix}/bin/${nickname}" {{ENTRYPOINT}} "$@")
37+
(PYTHONHOME="${APPDIR}/${prefix}" exec -a "${executable}" "$APPDIR/${prefix}/bin/${nickname}" "$@")
3838
exit "$?"

0 commit comments

Comments
 (0)