Permalink
Browse files

Include readme in the setup.py long_description field.

This should let pypi pick it up automatically on upload.
  • Loading branch information...
bdarnell committed Mar 29, 2013
1 parent bba0838 commit 6a8bfce58ac533e88dd4793c0e7e78c3d2330dc0
Showing with 5 additions and 0 deletions.
  1. +1 −0 MANIFEST.in
  2. +4 −0 setup.py
View
@@ -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*
View
@@ -27,6 +27,9 @@
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 @@
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
+ long_description=long_description,
**kwargs
)

0 comments on commit 6a8bfce

Please sign in to comment.