Python scripts can't be used as a 'binary'
Bug #1516404 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Björn Tillenius |
Bug Description
If you create a snap based on a python project, and executable scripts can't be used directly in the snapcraft.yaml binaries section. The reason for this is that the script will have a shebang that points to a python interpreter on the local file system.
This is true for not only python, but for any interpreted language that doesn't rely on the interpreter being in the snappy system by default.
Changed in snapcraft: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Björn Tillenius (bjornt) |
milestone: | none → 0.5 |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in https:/ /github. com/ubuntu- core/snapcraft/ pull/98, with unit tests for the changes.