# HG changeset patch # User Jeff Hammel # Date 1471989701 25200 # Node ID c1ab43edf29632274b2f84fbc5decc8d92ba8239 # Parent a3a83eda831c7c5d363171e93789753276612a8a https://docs.python.org/3.1/distutils/uploading.html#pypi-package-display diff -r a3a83eda831c -r c1ab43edf296 .bashrc --- a/.bashrc Thu Jul 14 12:26:19 2016 -0700 +++ b/.bashrc Tue Aug 23 15:01:41 2016 -0700 @@ -379,10 +379,16 @@ } distribute() { - # upload to pypi +# upload to pypi python setup.py egg_info -RDb "" sdist register upload develop } +render_long_description { +# check the long_description from the command line: +# https://docs.python.org/3.1/distutils/uploading.html#pypi-package-display + python setup.py --long-description | rst2html.py > output.html +} + nearest-venv() { # find the nearest venv if [[ "$#" == "0" ]]