deb-python-gabbi/Makefile
Chris Dent 5e9e9cc991 Add configuration for uploading signed sdists and wheels
Wheels are commonly desired these days, and having them signed ought
to be done, so this adds the bits to make that possible.
2017-06-19 13:10:44 +01:00

43 lines
918 B
Makefile

# simple Makefile for some common tasks
.PHONY: clean test dist release pypi tagv docs
clean:
find . -name "*.pyc" |xargs rm || true
rm -r dist || true
rm -r build || true
rm -rf .tox || true
rm -r .testrepository || true
rm -r cover .coverage || true
rm -r .eggs || true
rm -r gabbi.egg-info || true
tagv:
git tag -s \
-m `python -c 'import gabbi; print gabbi.__version__'` \
`python -c 'import gabbi; print gabbi.__version__'`
git push origin master --tags
cleanagain:
find . -name "*.pyc" |xargs rm || true
rm -r dist || true
rm -r build || true
rm -r .tox || true
rm -r .testrepository || true
rm -r cover .coverage || true
rm -r .eggs || true
rm -r gabbi.egg-info || true
docs:
cd docs ; $(MAKE) html
test:
tox --skip-missing-interpreters
dist: test
python setup.py sdist bdist_wheel
release: clean test cleanagain tagv pypi
pypi:
python setup.py sdist bdist_wheel upload --sign