1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
.PHONY: all doc test clean all: doc clean doc: python setup.py build_sphinx @echo @echo Generated documentation: "file://"$$(readlink -f doc/build/html/index.html) @echo test: -find coverage/ -mindepth 1 -delete pytest $${TESTS} clean: find . -name '*.py[co]' -delete dist: test python setup.py sdist