e30d53c8e00800e81f7999fa4d3118a3c66f32cf
[diaspy.git] / Makefile
1 .PHONY: style-check test
2
3 style-check:
4 flake8 --max-complexity 6 ./diaspy/
5
6 test:
7 python3 -m unittest --verbose --catch --failfast tests.py
8
9 test-python2:
10 python2 -m unittest --verbose --catch --failfast tests
11
12 clean:
13 rm -v ./{diaspy/,}*.pyc
14 rm -rv ./{diaspy/,}__pycache__/
15
16 install:
17 python setup.py install
18 rm -rvf dist/
19 rm -rvf diaspy.egg-info