From 6a8bfce58ac533e88dd4793c0e7e78c3d2330dc0 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Fri, 29 Mar 2013 09:48:45 -0400 Subject: [PATCH] Include readme in the setup.py long_description field. This should let pypi pick it up automatically on upload. --- MANIFEST.in | 1 + setup.py | 4 ++++ 2 files changed, 5 insertions(+) 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 ) -- 2.47.2