From 2381c26cbbc27414f24508f0c6467206172580dd Mon Sep 17 00:00:00 2001 From: Matt Lewis Date: Tue, 13 Dec 2016 21:18:29 -0700 Subject: [PATCH] docs: add release instructions --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index ab54ff5..51837f8 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,21 @@ test/test_csvtomd.py ... =========================== 3 passed in 0.04 seconds =========================== ``` +## Releasing + +```sh +# Bump version number in setup.py and csvtomd.py +# Delete old builds +rm -rf dist +# Build source and binary wheel distribution +python setup_wrap.py sdist bdist_wheel +# Upload to PyPI +pip install twine +twine upload dist/* +``` + +[Here's an actual guide to PyPI.](https://packaging.python.org/distributing/) [And another really good one.](https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/) + # License Copyright (c) 2016 Matthew Lewis. Licensed under [the MIT License](http://opensource.org/licenses/MIT).