Makefile (571B)
1 DATADIR = data/ 2 DATE = `date +%Y-%m-%d` 3 4 clean: 5 rm -rf build/ 6 rm -rf dist/ 7 rm -rf Stoichiograph.egg-info/ 8 9 init: 10 pip install -r dev_requirements.txt 11 12 lint: 13 flake8 --max-line-length 90 stoichiograph/*.py tests/*.py setup.py 14 15 loc: 16 cloc --by-file --include-lang=Python . 17 18 package: clean lint 19 python setup.py sdist bdist_wheel 20 21 test: 22 # To run individual tests, use "py.test -k the_test_path" 23 py.test tests 24 25 todo: 26 grep -FR --ignore-case --binary-file=without-match todo *.py stoichiograph/ tests/ 27 28 upload: package 29 twine upload dist/* 30 31 watch-log: 32 tail -f debug.log