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