]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Include readme in the setup.py long_description field.
authorBen Darnell <ben@bendarnell.com>
Fri, 29 Mar 2013 13:48:45 +0000 (09:48 -0400)
committerBen Darnell <ben@bendarnell.com>
Fri, 29 Mar 2013 13:48:45 +0000 (09:48 -0400)
This should let pypi pick it up automatically on upload.

MANIFEST.in
setup.py

index 73848e386de77c7da5941409871e1673cc4f0b18..46e3efc0fa3db282de387511e712229d1e5633a0 100644 (file)
@@ -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
index 55efaece83d7b54572f2ae651f53ffa6d244de1b..feb718e97f9a9af4cf647b40c9f1969d6ca54511 100644 (file)
--- 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
 )