Merge lp:~ted/snapcraft/multi-python-version into lp:~snappy-dev/snapcraft/core
Proposed by
Ted Gould
on 2015-09-18
| Status: | Merged |
|---|---|
| Approved by: | Sergio Schvezov on 2015-09-22 |
| Approved revision: | 184 |
| Merged at revision: | 199 |
| Proposed branch: | lp:~ted/snapcraft/multi-python-version |
| Merge into: | lp:~snappy-dev/snapcraft/core |
| Diff against target: |
107 lines (+38/-6) 5 files modified
snapcraft/__init__.py (+9/-0) snapcraft/common.py (+11/-0) snapcraft/plugins/python2.py (+7/-3) snapcraft/plugins/python2_project.py (+5/-1) snapcraft/plugins/python3.py (+6/-2) |
| To merge this branch: | bzr merge lp:~ted/snapcraft/multi-python-version |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sergio Schvezov | 2015-09-18 | Approve on 2015-09-22 | |
|
Review via email:
|
|||
Commit Message
Choose the python path based on the version installed
Description of the Change
So many versions of Python, so little time.
To post a comment you must log in.
lp:~ted/snapcraft/multi-python-version
updated
on 2015-09-18
| Ted Gould (ted) wrote : | # |
The reason that python3-project is missing the logic is because it doesn't need it :-) The only path for it is "python3" not the full version. Cool fix in the updated version of Python, but doesn't seem to work for the others.
| Sergio Schvezov (sergiusens) wrote : | # |
This is awesome!
review:
Approve


Looks good, the only thing missing is that one of the pythonX modules is missing the logic.
It's there for python2, python2-project and python3 but not python3-project.
Also raises a question about the long term plan for these plugins and the duplication they are creating, right now it is just a means to avoid a STAGE_PACKAGE dep ;-)