From 033ceda5aaa4e64c53f9c44e2e72b551289131f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ely=C3=A9zer=20Mendes=20Rezende?= Date: Mon, 20 Jan 2014 20:36:45 -0200 Subject: [PATCH] Update setup.py Update setup.py to read long_description from README.rst --- setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 47d6488..e56c4e5 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,15 @@ from distutils.core import setup +with open('README.rst') as file: + long_description = file.read() + setup( name='testimony', version='0.1.0', url='https://github.com/sthirugn/testimony/', author='Suresh Thirugn', author_email='sthirugn@redhat.com', - packages=['testimony', ], + packages=['testimony'], scripts=['bin/testimony'], - long_description=open('README.md').read(), + long_description=long_description, )