mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 09:28:51 -06:00
28 lines
416 B
Makefile
28 lines
416 B
Makefile
PYTHON := python3
|
|
PYTEST := pytest
|
|
PIP := pip3
|
|
PYTEST_ARGS := -W ignore::DeprecationWarning -vv -x --log-level=DEBUG
|
|
|
|
all: docs test
|
|
|
|
clean:
|
|
rm -rf build
|
|
|
|
develop:
|
|
$(PYTHON) setup.py develop
|
|
|
|
docs:
|
|
mkdocs build
|
|
|
|
install:
|
|
$(PIP) install -r requirements.txt
|
|
$(PYTHON) setup.py install
|
|
|
|
uninstall:
|
|
$(PIP) uninstall miplearn
|
|
|
|
test:
|
|
$(PYTEST) $(PYTEST_ARGS)
|
|
|
|
.PHONY: test test-watch docs install
|