Commit | Line | Data |
---|---|---|
385e7ebe MM |
1 | .PHONY: style-check test |
2 | ||
3 | style-check: | |
e0056129 | 4 | flake8 --max-complexity 6 ./diaspy/ |
385e7ebe MM |
5 | |
6 | test: | |
7 | python3 -m unittest --verbose --catch --failfast tests.py | |
62f1912f MM |
8 | |
9 | test-python2: | |
beaa09fb MM |
10 | python2 -m unittest --verbose --catch --failfast tests.py |
11 | ||
12 | clean: | |
cf6a800f | 13 | rm -rv ./{diaspy/,}__pycache__/ |
75a456f4 MM |
14 | |
15 | install: | |
16 | python setup.py install | |
17 | rm -rvf dist/ | |
18 | rm -rvf diaspy.egg-info |