Debian Codegraph @

Makefile

raw symbols SCIP
1 # Shim wrapper around setup.py to allow for familiar build targets
2
3 PYTHON ?= python
4 VERSION := $(shell $(PYTHON) -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))')
5
6 all:
7 $(PYTHON) -m build
8
9 install: all
10 $(PYTHON) -m pip install .
11
12 clean:
13 rm -rf build/ dist/
14
15 check: all
16 tox -e py$(VERSION)
17
18 test: all
19 tox run-parallel
20
21 rpm: all
22 rpmbuild -ta dist/libvirt[-_]python-$(shell tr -d '\n' < VERSION).tar.gz