Makefile 662 Bytes
Newer Older
1 2 3 4
VERBOSITY=
# VERBOSITY=-v
# VERBOSITY=-vv
# VERBOSITY=-vvv
5 6

run-test:
7 8 9 10 11
	python -m biseau scripts/example.lp scripts/black_theme.json -o out/out.png $(VERBOSITY)
run-config-test:
	python -m biseau -c ./configs/simple.json $(VERBOSITY)
	python -m biseau -c ./configs/concept-lattice.json -o out/concept-lattice.png $(VERBOSITY)
	xdg-open out/concept-lattice.png
12 13 14 15 16 17 18 19 20 21 22 23

t: test
test:
	python -m pytest biseau test --ignore=venv --doctest-module


fullrelease:
	fullrelease
install_deps:
	python -c "import configparser; c = configparser.ConfigParser(); c.read('setup.cfg'); print(c['options']['install_requires'])" | xargs pip install -U
install:
	python setup.py install