witchie/Makefile

26 lines
481 B
Makefile
Raw Normal View History

2017-04-12 14:42:04 +00:00
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 :
2017-04-24 14:24:43 +00:00
find . -name "*pyc" | xargs rm -rf $1
rm -rf build dist *.egg-info MANIFEST htmlcov deb_dist toot*.tar.gz
2017-04-12 14:42:04 +00:00
publish :
twine upload dist/*
coverage:
py.test --cov=toot --cov-report html tests/
2017-08-26 13:56:41 +00:00
deb:
@python setup.py --command-packages=stdeb.command bdist_deb