forked from biocore/microsetta-interface
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (22 loc) · 677 Bytes
/
Makefile
File metadata and controls
32 lines (22 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# shamelessly adapt https://github.com/qiime2/q2-emperor/blob/master/Makefile
.PHONY: all lint test test-cov install dev clean distclean
PYTHON ?= python
all: ;
lint:
flake8 microsetta_interface
test: all
py.test
test-install: all
# ensure the package is installed and the app is buildable. this test
# is a passive verification that non-py essential files are part of the
# installed entity.
cd / # go somewhere to avoid relative imports
python -c "from microsetta_interface import server; server.build_app()"
test-cov: all
py.test --cov=microsetta_interface
install: all
$(PYTHON) setup.py install
dev: all
pip install -e .
clean: distclean
distclean: ;