From 887d42c8cc60124e0890ff951f5815d3ba8d3413 Mon Sep 17 00:00:00 2001 From: Karliss Date: Fri, 17 Jan 2025 02:22:14 +0200 Subject: [PATCH] Debug python bundling problems. --- .github/actions/build-linux-old/entrypoint.sh | 1 + scripts/appimage_embed_python.sh | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/actions/build-linux-old/entrypoint.sh b/.github/actions/build-linux-old/entrypoint.sh index cbe774c4..2ed9769c 100755 --- a/.github/actions/build-linux-old/entrypoint.sh +++ b/.github/actions/build-linux-old/entrypoint.sh @@ -117,6 +117,7 @@ then locale -a export LANG="C.UTF-8" export LC_ALL="C.UTF-8" + echo "python prefix!!!!!!! ($CUTTER_DEPS_PYTHON_PREFIX)" cmake \ -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ diff --git a/scripts/appimage_embed_python.sh b/scripts/appimage_embed_python.sh index 069f777c..3beceba7 100755 --- a/scripts/appimage_embed_python.sh +++ b/scripts/appimage_embed_python.sh @@ -7,8 +7,13 @@ if ! [[ $# -eq 2 ]]; then exit 1 fi +pwd +ls python_prefix=$(pkg-config --variable=prefix python3) +echo "pprefix $python_prefix" +ls "$python_prefix" +ls "$python_prefix/bin" python_version=`$python_prefix/bin/python3 --version` python_version=${python_version##* } python_version=python${python_version%.*}