diff --git a/Makefile b/Makefile index 6474033b9a3121a010b1269e8f045c16d9fd8cb3..fddbf54cea7d34362c595ac4ff1a2cc38af6f05e 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,10 @@ help: @echo "Testing:" @echo " test Run tests" @echo "" + @echo "Packaging:" + @echo " build Build Python package" + @echo " relase Publish Python package on PyPI" + @echo "" venv: .venv/bin/python .venv/bin/python: @@ -40,6 +44,12 @@ migrate: venv test: tox -.PHONY: help venv install install-hooks hooks migrations migrate test +build: venv + ${VENV}/bin/python setup.py sdist bdist_wheel + +release: venv + ${VENV}/bin/twine upload dist/* + +.PHONY: help venv install install-hooks hooks migrations migrate test build release # EOF