diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-09-18 01:22:35 -0700 |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-09-18 01:22:35 -0700 |
commit | 5db89b1df20ecaebf332b7ece3cc5bcddd945652 (patch) | |
tree | 2bbf6445888e91ca3b194f1b272b347e18ba86bb /setup.py | |
parent | 935b0d8f417e9abd3eda03bcd12d6a982e8a3f88 (diff) | |
download | pystache-5db89b1df20ecaebf332b7ece3cc5bcddd945652.tar.gz |
Add instructions re: checking the reST file for PyPI.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -14,7 +14,7 @@ number in setup.py, etc. Generate the reStructuredText long_description using-- - python setup.py prep + $ python setup.py prep and be sure this new version is checked in. You must have pandoc installed to do this step: @@ -25,6 +25,22 @@ It helps to review this auto-generated file on GitHub prior to uploading because the long description will be sent to PyPI and appear there after publishing. +To check in advance that PyPI will accept and parse the reST file as HTML, +you can use the rst2html program installed by the docutils package +(http://docutils.sourceforge.net/). To install docutils: + + $ pip install docutils + +You will want to issue a command like the following and check that no +warnings are issued: + + $ python setup.py --long-description | rst2html.py -v --no-raw > out.html + +See here for more information: + + http://docs.python.org/distutils/uploading.html#pypi-package-display + + (2) Push to PyPI. To release a new version of Pystache to PyPI-- http://pypi.python.org/pypi/pystache |