
Those two parts require python3. To avoid duplicating the exclude list, run tests and pylint on a copy installed via setuptools.
13 lines
186 B
Makefile
13 lines
186 B
Makefile
.PHONY: all
|
|
all: build
|
|
|
|
PYTHON ?= python
|
|
|
|
.PHONY: build
|
|
build:
|
|
$(PYTHON) setup.py build
|
|
|
|
.PHONY: install
|
|
install:
|
|
$(PYTHON) setup.py install -O1 $(PYTHON_PREFIX_ARG) --root $(DESTDIR)
|