Update release procedure
This commit is contained in:
parent
ebed6a8045
commit
933848cde5
3 changed files with 18 additions and 25 deletions
29
Makefile
29
Makefile
|
@ -1,28 +1,21 @@
|
||||||
default : clean dist
|
.PHONY: clean publish test
|
||||||
|
|
||||||
dist :
|
dist :
|
||||||
@echo "\nMaking source"
|
python setup.py sdist --formats=gztar,zip
|
||||||
@echo "-------------"
|
python setup.py bdist_wheel --python-tag=py3
|
||||||
@python setup.py sdist
|
|
||||||
|
|
||||||
@echo "\nMaking wheel"
|
deb_dist:
|
||||||
@echo "-------------"
|
python setup.py --command-packages=stdeb.command bdist_deb
|
||||||
@python setup.py bdist_wheel --universal
|
|
||||||
|
|
||||||
@echo "\nDone."
|
|
||||||
|
|
||||||
clean :
|
|
||||||
find . -name "*pyc" | xargs rm -rf $1
|
|
||||||
rm -rf build dist MANIFEST htmlcov deb_dist toot*.tar.gz
|
|
||||||
|
|
||||||
publish :
|
publish :
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
|
|
||||||
|
test:
|
||||||
|
pytest -v -s
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
py.test --cov=toot --cov-report html tests/
|
py.test --cov=toot --cov-report html tests/
|
||||||
|
|
||||||
deb:
|
clean :
|
||||||
@python setup.py --command-packages=stdeb.command bdist_deb
|
find . -name "*pyc" | xargs rm -rf $1
|
||||||
|
rm -rf build dist MANIFEST htmlcov deb_dist toot*.tar.gz
|
||||||
test:
|
|
||||||
pytest -v -s
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
pytest-cov~=2.4.0
|
keyring
|
||||||
pytest~=3.0.0
|
pytest
|
||||||
stdeb~=0.8.5
|
pytest-cov
|
||||||
twine~=1.8.1
|
pyxdg
|
||||||
wheel~=0.29.0
|
stdeb
|
||||||
|
twine
|
||||||
|
wheel
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[bdist_wheel]
|
|
||||||
universal=1
|
|
Loading…
Reference in a new issue