Update Makefile

This commit is contained in:
Ivan Habunek 2019-06-06 09:28:23 +02:00
parent 0c88de3862
commit 357379a6a1
No known key found for this signature in database
GPG Key ID: CDBD63C43A30BB95

View File

@ -1,22 +1,15 @@
default : clean dist
dist :
@echo "\nMaking source"
@echo "-------------"
@python setup.py sdist
@echo "\nMaking wheel"
@echo "-------------"
@python setup.py bdist_wheel --universal
@echo "\nDone."
python setup.py sdist --formats=gztar,zip
python setup.py bdist_wheel --python-tag=py3
clean :
find . -name "*pyc" | xargs rm -rf $1
rm -rf build dist MANIFEST htmlcov deb_dist twitch-dl*.tar.gz twitch-dl.1.man
publish :
twine upload dist/*
twine upload dist/*.tar.gz dist/*.whl
coverage:
py.test --cov=toot --cov-report html tests/