From: Ben Darnell Date: Fri, 29 Mar 2013 13:48:45 +0000 (-0400) Subject: Include readme in the setup.py long_description field. X-Git-Tag: v3.0.1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a8bfce58ac533e88dd4793c0e7e78c3d2330dc0;p=thirdparty%2Ftornado.git Include readme in the setup.py long_description field. This should let pypi pick it up automatically on upload. --- diff --git a/MANIFEST.in b/MANIFEST.in index 73848e386..46e3efc0f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -9,5 +9,6 @@ include tornado/test/static/robots.txt include tornado/test/templates/utf8.html include tornado/test/test.crt include tornado/test/test.key +include README.rst include runtests.sh global-exclude _auto2to3* \ No newline at end of file diff --git a/setup.py b/setup.py index 55efaece8..feb718e97 100644 --- a/setup.py +++ b/setup.py @@ -27,6 +27,9 @@ kwargs = {} version = "3.1.dev1" +with open('README.rst') as f: + long_description = f.read() + distutils.core.setup( name="tornado", version=version, @@ -64,5 +67,6 @@ distutils.core.setup( 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ], + long_description=long_description, **kwargs )