1SHELL := /bin/bash 2 3deps: 4 pip install --upgrade \ 5 -r requirements/development.txt \ 6 -r requirements/production.txt 7 8sdist: 9 python setup.py sdist 10 python setup.py bdist_wheel 11 12register: 13 python setup.py register 14 python setup.py sdist upload 15 python setup.py bdist_wheel upload 16 17site: 18 cd docs; make html 19 20test: 21 coverage run setup.py test 22 23unittest: 24 coverage run -m unittest discover 25 26lint: 27 flake8 --exit-zero funcsigs tests 28 29coverage: 30 coverage report --show-missing 31 32clean: 33 python setup.py clean --all 34 find . -type f -name "*.pyc" -exec rm '{}' + 35 find . -type d -name "__pycache__" -exec rmdir '{}' + 36 rm -rf *.egg-info .coverage 37 cd docs; make clean 38 39docs: site 40