1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-12-04 14:46:33 -05:00
toot/Makefile
2017-08-26 15:56:41 +02:00

26 lines
468 B
Makefile

default : clean dist
dist :
@echo "\nMaking source"
@echo "-------------"
@python setup.py sdist
@echo "\nMaking wheel"
@echo "-------------"
@python setup.py bdist_wheel --universal
@echo "\nDone."
clean :
find . -name "*pyc" | xargs rm -rf $1
rm -rf build dist *.egg-info MANIFEST htmlcov deb_dist
publish :
twine upload dist/*
coverage:
py.test --cov=toot --cov-report html tests/
deb:
@python setup.py --command-packages=stdeb.command bdist_deb