-
Notifications
You must be signed in to change notification settings - Fork 86
/
Makefile
37 lines (29 loc) · 967 Bytes
/
Makefile
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
33
34
35
36
37
# Note: This is meant for Metakernel developer use only
.PHONY: all clean test test_warn cover release help
all: install
install: clean
pip install --upgrade --upgrade-strategy eager -e .[parallel,activity,test]
pip install ./metakernel_python
python -m metakernel_python install --user
pip install ./metakernel_echo
python -m metakernel_echo install --user
clean:
rm -rf build dist
/usr/bin/find . -name "*.pyc" -o -name "*.py,cover"| xargs rm -f
test: clean
ipcluster start -n=3 &
python -m pytest -W default || python -m pytest -W default --lf
ipcluster stop
python metakernel_python/test_metakernel_python.py
make clean
cover: clean
ipcluster start -n=3 &
python -m pytest --cov=metakernel || python -m pytest --lf --cov=metakernel
ipcluster stop
python metakernel_python/test_metakernel_python.py
coverage annotate
docs: clean
pip install -r docs/requirements.txt
make -C docs html SPHINXOPTS="-W"
help:
python docs/generate_help.py