witchie/Makefile

24 lines
409 B
Makefile
Raw Normal View History

2020-06-15 19:27:41 +00:00
.PHONY: clean publish test docs
2017-04-12 14:42:04 +00:00
dist :
2018-06-25 12:27:40 +00:00
python setup.py sdist --formats=gztar,zip
python setup.py bdist_wheel --python-tag=py3
2017-04-12 14:42:04 +00:00
publish :
twine upload dist/*.tar.gz dist/*.whl
2018-06-25 12:27:40 +00:00
test:
pytest -v
2018-06-25 12:27:40 +00:00
coverage:
2022-11-29 10:25:52 +00:00
coverage erase
coverage run
coverage report
2017-08-26 13:56:41 +00:00
2018-06-25 12:27:40 +00:00
clean :
find . -name "*pyc" | xargs rm -rf $1
2022-11-12 14:29:19 +00:00
rm -rf build dist MANIFEST htmlcov toot*.tar.gz
2019-09-04 06:39:18 +00:00
changelog:
./scripts/generate_changelog > CHANGELOG.md