1 .PHONY
: help venv venv-check
check clean distclean develop
4 @echo
"python packaging help:"
6 @echo
"make venv: Create pipenv's virtual environment."
7 @echo
" NOTE: Requires Python 3.6 and pipenv."
8 @echo
" Will download packages from PyPI."
9 @echo
" Hint: (On Fedora): 'sudo dnf install python36 pipenv'"
11 @echo
"make venv-check: run linters using pipenv's virtual environment."
12 @echo
" Hint: If you don't know which test to run, run this one!"
14 @echo
"make develop: Install deps for 'make check', and"
15 @echo
" the qemu libs in editable/development mode."
17 @echo
"make check: run linters using the current environment."
19 @echo
"make check-tox: run linters using multiple python versions."
21 @echo
"make clean: remove package build output."
23 @echo
"make distclean: remove venv files, qemu package forwarder,"
24 @echo
" built distribution files, and everything"
25 @echo
" from 'make clean'."
29 @PIPENV_VENV_IN_PROJECT
=1 pipenv sync
--dev
--keep-outdated
33 @pipenv run make
check
36 pip3
install -e .
[devel
]
39 @avocado
--config avocado.cfg run tests
/
45 python3 setup.py
clean --all
48 rm -rf qemu.egg-info
/ .venv
/ .tox
/ dist/