snapcraft plugin for python2/3 should fix incorrect shebang on pkg_resources-generated scripts
Bug #1486680 reported by
Zygmunt Krynicki
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Unassigned |
Bug Description
#!/usr/bin/python3
This is the shebang generated for a typical pkg_resources-based console_scripts entry point. This should be patched to contain #!/usr/bin/env python3
Related branches
lp://staging/~ted/snapcraft/cmdline-exec
- Sergio Schvezov: Approve
- Ted Gould: Pending requested
-
Diff: 82 lines (+36/-2)2 files modifiedsnapcraft/plugins/python2_project.py (+18/-1)
snapcraft/plugins/python3_project.py (+18/-1)
Superseded
for merging
into
lp://staging/~ted/snapcraft/python-pip
- Ted Gould: Pending requested
-
Diff: 89 lines (+39/-2)3 files modifiedsnapcraft/plugins/python2_project.py (+17/-1)
snapcraft/plugins/python3_project.py (+18/-1)
snapcraft/yaml.py (+4/-0)
affects: | snappy → snapcraft |
Changed in snapcraft: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in snapcraft: | |
status: | Triaged → Fix Committed |
Changed in snapcraft: | |
milestone: | none → 0.2 |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.