Public bug reported: I'm trying to use snapcraft 2.11 on Ubuntu 16.04 and its python3 plugin to produce a snap for http-prompt¹. It doesn't work because the resulting snap wrappers include this:
| export PYTHONPATH=$SNAP/usr/lib/python3.5/dist-packages However, the actual built python packages end up in python3/dist-packages: | james@ornery:~$ ls -l /snap/http-prompt/current/usr/lib/python3.5/dist-packages | total 0 | james@ornery:~$ ls -l /snap/http-prompt/current/usr/lib/python3/dist-packages | total 31 | drwxrwxr-x 3 root root 362 Jun 19 01:38 click | drwxrwxr-x 2 root root 126 Jun 19 01:38 click-6.6.egg-info [...] | drwxrwxr-x 2 root root 156 Jun 19 01:38 wcwidth-0.1.6.dist-info | james@ornery:~$ ¹ https://github.com/eliangcs/http-prompt ** Affects: snapcraft (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1594059 Title: python3 plugin produces wrappers with a broken PYTHONPATH To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1594059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs