init:
	pip3 install -r requirements.txt

test:
	python3 -m pytest --cov=./ --cov-report term-missing:skip-covered tests/

dev:
	python3 setup.py develop

install:
	python3 setup.py install

from-wheel:
	pip3 install ./wheel/perfaide-7.0.0-py3-none-any.whl

build-wheel:
	python3 setup.py bdist_wheel --bdist-dir ~/temp/bdistwheel

docs:
	$(MAKE) -C docs html

docs-latex:
	$(MAKE) -C docs latex

docs-all:
	$(MAKE) -C docs html
	$(MAKE) -C docs dirhtml
	$(MAKE) -C docs latex

.phony: init test dev install docs docs-latex docs-all build-wheel from-wheel
