ci: refresh with 'lcitool manifest'
[libvirt-python.git] / Makefile
blob925af40e31eb4d4e2d6b1f9e080220245e40b64b
1 # Shim wrapper around setup.py to allow for familiar build targets
3 PYTHON ?= python
4 VERSION := $(shell $(PYTHON) -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))')
6 all:
7 $(PYTHON) -m build
9 install: all
10 $(PYTHON) -m pip install .
12 clean:
13 rm -rf build/ dist/
15 check: all
16 tox -e py$(VERSION)
18 test: all
19 tox
21 rpm: all
22 rpmbuild -ta dist/libvirt-python-$(shell tr -d '\n' < VERSION).tar.gz