Makefile 354 B

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