Merge lp://qastaging/~mterry/snapcraft/python2 into lp://qastaging/~snappy-dev/snapcraft/core
Status: | Merged |
---|---|
Approved by: | Leo Arias |
Approved revision: | 95 |
Merged at revision: | 120 |
Proposed branch: | lp://qastaging/~mterry/snapcraft/python2 |
Merge into: | lp://qastaging/~snappy-dev/snapcraft/core |
Diff against target: |
159 lines (+117/-0) 8 files modified
examples/py2-project/Makefile (+8/-0) examples/py2-project/meta/package.yaml (+5/-0) examples/py2-project/meta/readme.md (+1/-0) examples/py2-project/sha3sum.py (+15/-0) examples/py2-project/snapcraft.yaml (+7/-0) plugins/python2-project.yaml (+9/-0) snapcraft/plugins/python2.py (+41/-0) snapcraft/plugins/python2_project.py (+31/-0) |
To merge this branch: | bzr merge lp://qastaging/~mterry/snapcraft/python2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leo Arias (community) | Approve | ||
Sergio Schvezov | Approve | ||
John Lenton (community) | Needs Fixing | ||
Review via email: mp+265134@code.qastaging.launchpad.net |
Commit message
Add python2 and python2-project plugins.
I did this branch when testing the python3 branch (to make sure there was no python bits on the system interfering with the bundled python).
It's basically a straight copy of python3, with appropriate string changes.
I also dropped the configflags option from python3-project. I think that was a copy/paste error.
Description of the change
Add python2 and python2-project plugins.
I did this branch when testing the python3 branch (to make sure there was no python bits on the system interfering with the bundled python).
It's basically a straight copy of python3, with appropriate string changes.
I also dropped the configflags option from python3-project. I think that was a copy/paste error.
This does no byte-compiling, which means you get a ton of DENIED when it tries to do so. I'd recommend generating the .pyc files at least -- you could even ship *only* the pyc files and it would still be happy. Nobody really uses .pyo AFAIK so those would be fine to skip.
Another thing you could do is zip all the standard library, but that's probably for down the road.