Merge ~cjwatson/ols-charm-deps:pip-install-code-dir into ols-charm-deps:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 4a649436a8ef9f1af64f469e2b7542b22937cff3 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/ols-charm-deps:pip-install-code-dir |
Merge into: | ols-charm-deps:master |
Diff against target: |
78 lines (+51/-5) 2 files modified
layer/ols/lib/ols/base.py (+13/-5) layer/ols/unit_tests/test_ols.py (+38/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guillermo Gonzalez | Approve | ||
Review via email:
|
Commit message
Tell pip to install code dir if it has setup.py
Description of the change
It's sometimes useful to have entry points in the code directory's setup.py that install scripts: for example, lp-signing does this. Support this by adding the code directory to pip's arguments, provided that a setup.py exists there.
To post a comment you must log in.
looks good.