requests-http-signature/Makefile

28 lines
499 B
Makefile
Raw Normal View History

2017-08-22 02:02:39 +02:00
test_deps:
pip install coverage flake8 wheel
lint: test_deps
flake8 $$(python setup.py --name | sed 's/-/_/g')
2017-08-22 02:02:39 +02:00
test: test_deps lint
2017-08-22 21:44:21 +02:00
coverage run --source=$$(python setup.py --name | sed 's/-/_/g') ./test/test.py
2017-08-22 02:02:39 +02:00
init_docs:
cd docs; sphinx-quickstart
docs:
$(MAKE) -C docs html
install: clean
pip install wheel
python setup.py bdist_wheel
pip install --upgrade dist/*.whl
clean:
-rm -rf build dist
-rm -rf *.egg-info
.PHONY: lint test test_deps docs install clean
include common.mk