From b80b476a1240169ff078169c2b185423bdf2b127 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 9 Oct 2022 07:37:44 -0700 Subject: [PATCH] Snapcraft: Update PYTHONPATH in launcher --- snap/snapcraft.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c8eb70b3..7ad8e7af 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -49,6 +49,7 @@ parts: cat > $SNAPCRAFT_PART_INSTALL/bin/launcher-setup << EOF #!/bin/sh export PATH=\$SNAP/bin:\$SNAP/usr/bin:\$SNAP/usr/local/bin:\$PATH + export PYTHONPATH=\$SNAP/lib/python3.8/site-packages:\$SNAP/usr/lib/python3/dist-packages export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:\$SNAP/usr/local/lib ORIG_IFS=\$IFS IFS=":"