Add a shortcut that canonizes the runes needed to get both the linting pre-requisites (the "[devel]" part), and the editable live-install (the "-e" part) of these python libraries.
Signed-off-by: John Snow <js...@redhat.com> --- python/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python/Makefile b/python/Makefile index 47940846400..2699b77b072 100644 --- a/python/Makefile +++ b/python/Makefile @@ -1,4 +1,4 @@ -.PHONY: help venv venv-check check clean distclean +.PHONY: help venv venv-check check clean distclean develop help: @echo "python packaging help:" @@ -11,8 +11,10 @@ help: @echo "make venv-check: run linters using pipenv's virtual environment." @echo " Hint: If you don't know which test to run, run this one!" @echo "" + @echo "make develop: Install deps for 'make check', and" + @echo " the qemu libs in editable/development mode." + @echo "" @echo "make check: run linters using the current environment." - @echo " Hint: Install deps with: 'pip install \".[devel]\"'" @echo "" @echo "make clean: remove build output." @echo "" @@ -27,6 +29,9 @@ venv: .venv venv-check: venv @pipenv run make check +develop: + pip3 install -e .[devel] + check: @pytest -- 2.29.2