23 lines
392 B
Makefile
23 lines
392 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
|
|
|
|
publish :
|
|
twine upload dist/*
|
|
|
|
coverage:
|
|
py.test --cov=toot --cov-report html tests/
|