binary entry (and lib) for python projects not installed in final snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Undecided
|
Unassigned | ||
snapcraft (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
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-
After a quick bisect, I found that the guilty commit was: https:/
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/
ProcVersionSign
Uname: Linux 4.4.0-64-generic x86_64
NonfreeKernelMo
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)
PackageArchitec
SourcePackage: snapcraft
UpgradeStatus: Upgraded to xenial on 2014-10-31 (857 days ago)
description: | updated |
Changed in snapcraft: | |
status: | New → Confirmed |
Changed in snapcraft (Ubuntu): | |
importance: | Undecided → Medium |
Ok this seems to be being triggered by the name= parameter in the setup.py matching the name of a module in the requirements.txt. This likely should trigger a warning at least.