-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (29 loc) · 897 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
38
39
40
41
42
.PHONY: build coverage lint graphs tests docs clean clean_pyc clean_c clean_so clean_cython deploy
build:
mkdir -p docs/modules/generated
python setup.py build_ext -i -b .
build_cython:
mkdir -p docs/modules/generated
python setup.py build_ext -i cython
coverage:
nosetests --logging-level=INFO --with-coverage --cover-package=matrixutils --cover-html
open cover/index.html
lint:
pylint --output-format=html matrixutils > pylint.html
graphs:
pyreverse -my -A -o pdf -p matrixutils matrixutils/**.py matrixutils/**/**.py
tests:
nosetests --logging-level=INFO
docs:
cd docs;make html
clean_pyc:
find . -name "*.pyc" | xargs -I {} rm -v "{}"
clean_c:
find . -name "*.c" | xargs -I {} rm -v "{}"
clean_so:
find . -name "*.so" | xargs -I {} rm -v "{}"
clean: clean_pyc
cd docs;make clean
clean_cython: clean clean_c clean_so
deploy:
python setup.py sdist bdist_wheel upload