tAppImage: Patch Python sysconfigdata - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit bb59a1298a04713dc4a4e4c8d8a22e48810ae6bd DIR parent 212ed8b18bb658683f92762baa034f6f61e5234b HTML Author: Axel Gembe <derago@gmail.com> Date: Sun, 23 Jun 2019 03:15:33 +0200 AppImage: Patch Python sysconfigdata When building in docker on macOS, python builds with .exe extension because the case insensitive file system of macOS leaks into docker. This causes the build to result in a different output on macOS compared tto Linux. We simply patch sysconfigdata to remove the extension. Some more info: https://bugs.python.org/issue27631 Diffstat: M contrib/build-linux/appimage/build… | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) --- DIR diff --git a/contrib/build-linux/appimage/build.sh b/contrib/build-linux/appimage/build.sh t@@ -57,6 +57,12 @@ tar xf "$CACHEDIR/Python-$PYTHON_VERSION.tar.xz" -C "$BUILDDIR" -q make -j4 -s make -s install > /dev/null + # When building in docker on macOS, python builds with .exe extension because the + # case insensitive file system of macOS leaks into docker. This causes the build + # to result in a different output on macOS compared to Linux. We simply patch + # sysconfigdata to remove the extension. + # Some more info: https://bugs.python.org/issue27631 + sed -i -e 's/\.exe//g' "$APPDIR"/usr/lib/python3.6/_sysconfigdata* )