From d9d3ee09043184110a0a1a2fcb3db7468e840f82 Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Tue, 16 Aug 2016 16:49:50 +0530 Subject: Convert README.md to README.rst Change-Id: Ib89be30f76b5a54addf8a60fee951d3a108bd014 Signed-off-by: Prashanth Pai --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 90df5a2..b1645ea 100644 --- a/setup.py +++ b/setup.py @@ -28,11 +28,15 @@ with open(gfapi_file_path) as f: raise Exception("Couldn't find version in setup.py") +def read(fname): + return open(os.path.join(os.path.dirname(__file__), fname)).read() + + setup( name='gfapi', version=version, description='Python bindings for GlusterFS libgfapi', - long_description='Python bindings for GlusterFS libgfapi', + long_description=read('README.rst'), license='GPLv2 or LGPLv3+', author='Red Hat, Inc.', author_email='gluster-devel@gluster.org', -- cgit