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 --- MANIFEST.in | 2 +- README.md | 10 ---------- README.rst | 11 +++++++++++ setup.py | 6 +++++- 4 files changed, 17 insertions(+), 12 deletions(-) delete mode 100644 README.md create mode 100644 README.rst diff --git a/MANIFEST.in b/MANIFEST.in index 04a2e88..ce51ba3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ -include README.md COPYING-GPLV2 COPYING-LGPLV3 MAINTAINERS +include README.rst COPYING-GPLV2 COPYING-LGPLV3 MAINTAINERS include .functests .unittests test-requirements.txt tox.ini test/test.conf recursive-include gluster *.py recursive-include test *.py diff --git a/README.md b/README.md deleted file mode 100644 index c7710b5..0000000 --- a/README.md +++ /dev/null @@ -1,10 +0,0 @@ -### Overview - -This is the official python bindings for the -[GlusterFS](http://www.gluster.org) libgfapi C library interface. - -Complete API reference and documentation can be found at -[ReadTheDocs](http://libgfapi-python.readthedocs.io/) - -Please follow the [Developer Guide](doc/markdown/dev_guide.md) to -contribute code. diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..3d30dd1 --- /dev/null +++ b/README.rst @@ -0,0 +1,11 @@ +libgfapi-python +--------------- + +This is the official python bindings for the +`GlusterFS `_ libgfapi C library interface. + +Complete API reference and documentation can be found at +`ReadTheDocs `_. + +Please follow the `Developer Guide `_ to +contribute code. 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