Makefile: add "rst" and "install" targets

Don't remove README.rst after uploading, since it's used by setup.py for
long_description.
pull/20/head
Marco Hinz 8 years ago
parent e3f3ce8a9e
commit be3b77fb95

@ -1,5 +1,13 @@
upload:
default: install
install:
python3 setup.py install
rst:
cat README.md | pandoc -f markdown -t rst > README.rst
upload: rst
python3 setup.py sdist bdist_wheel
twine upload dist/*
rm README.rst
.PHONY: install rst upload

Loading…
Cancel
Save