1 .PHONY
: help pipenv check-pipenv
check clean distclean develop
4 @echo
"python packaging help:"
6 @echo
"make check-pipenv:"
7 @echo
" Run tests in pipenv's virtual environment."
8 @echo
" These tests use the oldest dependencies."
9 @echo
" Requires: Python 3.6 and pipenv."
10 @echo
" Hint (Fedora): 'sudo dnf install python3.6 pipenv'"
12 @echo
"make develop: Install deps for 'make check', and"
13 @echo
" the qemu libs in editable/development mode."
15 @echo
"make check: run linters using the current environment."
17 @echo
"make check-tox: run linters using multiple python versions."
20 @echo
" Creates pipenv's virtual environment (.venv)"
22 @echo
"make clean: remove package build output."
24 @echo
"make distclean: remove venv files, qemu package forwarder,"
25 @echo
" built distribution files, and everything"
26 @echo
" from 'make clean'."
30 @PIPENV_VENV_IN_PROJECT
=1 pipenv sync
--dev
--keep-outdated
34 @pipenv run make
check
37 pip3
install -e .
[devel
]
40 @avocado
--config avocado.cfg run tests
/
46 python3 setup.py
clean --all
49 rm -rf qemu.egg-info
/ .venv
/ .tox
/ dist/