Merge ~xavpaice/layer-snap:setup into ~stub/layer-snap:master
Proposed by
Xav Paice
Status: | Merged |
---|---|
Merged at revision: | 04bc8808e7ef6cf5b233d6ebf49b3839c90d8708 |
Proposed branch: | ~xavpaice/layer-snap:setup |
Merge into: | ~stub/layer-snap:master |
Diff against target: |
38 lines (+27/-0) 2 files modified
lib/charms/layer/__init__.py (+0/-0) setup.py (+27/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop | Approve | ||
Review via email: mp+397060@code.launchpad.net |
Commit message
Add a setup.py to help testing infrastructure install dependencies
While not useful for general packaging of a Charm layer, a setup.py
file does allow the layer's branch to be referenced directly
in a requires.txt file using a syntax like:
-e git+https:/
To post a comment you must log in.
A large number of the LMA charms currently include in the requirements.txt file a line:
-e git+https:/ /git.launchpad. net/~jjo/ layer-snap@ cab2b604695f39a 81abe47b22b8426 e44e66df8f# egg=charms. layer
We would like to be using currently maintained code.