2
0
mirror of https://github.com/mhinz/neovim-remote synced 2024-11-11 13:10:34 +00:00

Makefile: add "rst" and "install" targets

Don't remove README.rst after uploading, since it's used by setup.py for
long_description.
This commit is contained in:
Marco Hinz 2016-07-18 13:23:39 +02:00
parent e3f3ce8a9e
commit be3b77fb95

View File

@ -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