Skip to content

Commit ba3019d

Browse files
cosmo-rayjerome-jutteau
authored andcommitted
python 11 appimage
Signed-off-by: Matthias Gatto <matthias.gatto@outscale.com>
1 parent 1ec9c9b commit ba3019d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ $(PY_TARGET):
1212
osc-cli.AppDir/done: $(PY_TARGET)
1313
./$(PY_TARGET) --appimage-extract
1414
mv squashfs-root osc-cli.AppDir
15-
rm osc-cli.AppDir/usr/bin/python3.9
16-
cd osc-cli.AppDir/usr/bin/ && ln -s ../../opt/python3.9/bin/python3.9 python3.9
15+
rm osc-cli.AppDir/usr/bin/python$(PY_VER)
16+
cd osc-cli.AppDir/usr/bin/ && ln -s ../../opt/$(PY_STR)/bin/$(PY_STR) $(PY_STR)
1717
cp linux/AppRun-py osc-cli.AppDir/AppRun-py
1818
cd .. && APPDIR=$${PWD}/pkg/osc-cli.AppDir/ ./pkg/osc-cli.AppDir/AppRun-py ./setup.py install --prefix=./pkg/osc-cli.AppDir/opt/$(PY_STR)/ --optimize=1
1919
cd osc-cli.AppDir/ && \

pkg/linux/AppRun-py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export TKPATH="${TK_LIBRARY}"
1212
export SSL_CERT_FILE="${APPDIR}/opt/_internal/certs.pem"
1313

1414
# Call Python
15-
"$APPDIR/opt/python3.9/bin/python3.9" "$@"
15+
"$APPDIR/opt/python3.11/bin/python3.11" "$@"

0 commit comments

Comments
 (0)