From 65d578a68a1420e0d370b71b84dc108ba8066397 Mon Sep 17 00:00:00 2001 From: LinxiFan Date: Sat, 13 Oct 2018 18:11:33 -0700 Subject: [PATCH] Add upload script --- .gitignore | 2 ++ upload.sh | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100755 upload.sh diff --git a/.gitignore b/.gitignore index 8b85eae..132ed4e 100644 --- a/.gitignore +++ b/.gitignore @@ -122,3 +122,5 @@ runs/ temp* debug_* *.swp + +*.rst diff --git a/upload.sh b/upload.sh new file mode 100755 index 0000000..fd14590 --- /dev/null +++ b/upload.sh @@ -0,0 +1,6 @@ +#!/bin/bash +pandoc --from=markdown --to=rst --output=README.rst README.md +rm -rf dist/ +python setup.py sdist +python setup.py bdist_wheel +twine upload dist/*