** Description changed: Example project: 1. git clone lp:~apw/+git/so-trello + 1a. git checkout snapcraft-bug -> as you can see, this project define in setup.py a "scripts:" entry (not that the same behavior seen with entry_points) 2. Remove the "trellotool" part dump hack (to workaround that bug). 3. Run snapcraft -> Failure in non binary found. From what I saw, pip installs components from requirements.txt, but not trellotool or the script entry in the final snap. They are in parts/python-bits/build directory, but not in parts/python-bits/install ones, and so not in stage/ or prime. After a quick bisect, I found that the guilty commit was: https://github.com/snapcore/snapcraft/commit/652ac1238a8b1bb1af8ddc20c0c71d2e8e66680c. Confirming that taking the previous version of python.py on tip works. My bet is that the install from wheel switch is guilty. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: snapcraft 2.27.1 [modified: usr/lib/python3/dist-packages/snapcraft/_baseplugin.py usr/lib/python3/dist-packages/snapcraft/plugins/python.py] ProcVersionSignature: Ubuntu 4.4.0-64.85-generic 4.4.44 Uname: Linux 4.4.0-64-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl ApportVersion: 2.20.1-0ubuntu2.5 Architecture: amd64 CurrentDesktop: Unity Date: Mon Mar 6 12:19:38 2017 InstallationDate: Installed on 2012-05-28 (1742 days ago) InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) PackageArchitecture: all SourcePackage: snapcraft UpgradeStatus: Upgraded to xenial on 2014-10-31 (857 days ago)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1670323 Title: binary entry (and lib) for python projects not installed in final snap To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1670323/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
