You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
409 B
24 lines
409 B
PYTHON := python3
|
|
PYTEST := pytest
|
|
PIP := pip3
|
|
PYTEST_ARGS := -W ignore::DeprecationWarning -vv -x --log-level=DEBUG
|
|
|
|
all: docs test
|
|
|
|
develop:
|
|
cd src/python && $(PYTHON) setup.py develop
|
|
|
|
docs:
|
|
mkdocs build
|
|
|
|
install:
|
|
cd src/python && $(PYTHON) setup.py install
|
|
|
|
uninstall:
|
|
$(PIP) uninstall miplearn
|
|
|
|
test:
|
|
cd src/python && $(PYTEST) $(PYTEST_ARGS)
|
|
|
|
.PHONY: test test-watch docs install
|