1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2024-10-26 07:55:06 +03:00
libvirt-python/Makefile
Erik Skultety 01ac61c5e7 Makefile: Add a 'test' rule to run the full tox execution
This one should be used for the "full" test experience including any
additional environments, test suites and linters we may introduce
further down the road.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
2023-06-22 10:27:41 +02:00

22 lines
304 B
Makefile

# Shim wrapper around setup.py to allow for familiar build targets
PYTHON ?= python
all:
$(PYTHON) -m build
install: all
$(PYTHON) -m pip install .
clean:
rm -rf build/ dist/
check: all
tox -e py36
test: all
tox
rpm: all
rpmbuild -ta dist/libvirt-python-$(shell tr -d '\n' < VERSION).tar.gz