Skip to content

Commit 6a8bfce

Browse files
committed
Include readme in the setup.py long_description field.
This should let pypi pick it up automatically on upload.
1 parent bba0838 commit 6a8bfce

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ include tornado/test/static/robots.txt
99
include tornado/test/templates/utf8.html
1010
include tornado/test/test.crt
1111
include tornado/test/test.key
12+
include README.rst
1213
include runtests.sh
1314
global-exclude _auto2to3*

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727

2828
version = "3.1.dev1"
2929

30+
with open('README.rst') as f:
31+
long_description = f.read()
32+
3033
distutils.core.setup(
3134
name="tornado",
3235
version=version,
@@ -64,5 +67,6 @@
6467
'Programming Language :: Python :: Implementation :: CPython',
6568
'Programming Language :: Python :: Implementation :: PyPy',
6669
],
70+
long_description=long_description,
6771
**kwargs
6872
)

0 commit comments

Comments
 (0)