gabbi-tempest/Makefile
Chris Dent 487ebec24f Clean up packaging and docs to make this consumable
* add a convenience Makefile
* add license headers
* rationalized requirements.txt
* add wheel building capabilities
* update README
2018-01-09 17:12:00 +00:00

24 lines
546 B
Makefile

# simple Makefile for some common tasks
.PHONY: clean dist release pypi tagv
clean:
find . -name "*.pyc" |xargs rm || true
rm -r dist || true
rm -r build || true
rm -r .eggs || true
rm -r gabbi_tempest.egg-info || true
tagv:
git tag -s \
-m `python -c 'import gabbi_tempest; print gabbi_tempest.__version__'` \
`python -c 'import gabbi_tempest; print gabbi_tempest.__version__'`
git push origin master --tags
dist:
python setup.py sdist bdist_wheel
release: clean tagv pypi
pypi:
python setup.py sdist bdist_wheel upload --sign