forked from rachis-org/rachis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (22 loc) · 640 Bytes
/
Makefile
File metadata and controls
31 lines (22 loc) · 640 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
.PHONY: all lint test install dev clean distclean
PYTHON ?= python
PREFIX ?= $(CONDA_PREFIX)
all: ;
lint:
q2lint
flake8
test: all
QIIMETEST= pytest --doctest-modules
# for parallel, pip install pytest-xdist
mystery-stew: all
MYSTERY_STEW= pytest qiime2/tests/mystery_stew.py -n auto
install: all
$(PYTHON) setup.py install && \
mkdir -p $(PREFIX)/etc/conda/activate.d && \
cp hooks/00_activate_qiime2_envs.sh $(PREFIX)/etc/conda/activate.d/ && \
mkdir -p $(PREFIX)/etc/conda/deactivate.d && \
cp hooks/00_deactivate_qiime2_envs.sh $(PREFIX)/etc/conda/deactivate.d/
dev: all
pip install -e .
clean: distclean
distclean: ;