From 54d63baf9ccef588cb748cfd7959c97b03f53ea3 Mon Sep 17 00:00:00 2001 From: JuanPablo Date: Wed, 4 Mar 2015 21:18:32 -0300 Subject: [PATCH 1/3] to show full readme.rst in pypi --- setup.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index c186420..4abc182 100644 --- a/setup.py +++ b/setup.py @@ -2,16 +2,17 @@ from setuptools import setup #python setup.py develop --user #python setup.py develop --user --uninstall + +def read(*paths): + """ read files """ + with open(os.path.join(*paths), 'r') as filename: + return filename.read() + setup( name='rtv', version='1.0a4', description='A simple terminal viewer for Reddit (Reddit Terminal Viewer)', - long_description=( - '**Reddit Terminal Viewer (RTV)** is a lightweight browser ' - 'for Reddit (www.reddit.com) built into a terminal window. ' - 'RTV is built in Python and utilizes the **curses** library. ' - 'It is compatible with a large range of terminal emulators on ' - 'Linux and OSX systems.'), + long_description=(read('README.rst')), url='https://github.com/michael-lazar/rtv', author='Michael Lazar', author_email='lazar.michael22@gmail.com', From 89c3e0f9486120ac71862bb0959e4fb5e32f2a12 Mon Sep 17 00:00:00 2001 From: JuanPablo Date: Wed, 4 Mar 2015 21:53:24 -0300 Subject: [PATCH 2/3] missing import os added :P --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 4abc182..8f42443 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ from setuptools import setup +import os #python setup.py develop --user #python setup.py develop --user --uninstall From f08693988fd087a316456306459f114e637b4be6 Mon Sep 17 00:00:00 2001 From: JuanPablo Date: Wed, 4 Mar 2015 22:44:14 -0300 Subject: [PATCH 3/3] gif hosted in imgur to README --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 4be1e42..22c0145 100644 --- a/README.rst +++ b/README.rst @@ -5,7 +5,7 @@ Reddit Terminal Viewer RTV is built in Python and utilizes the **curses** library. It is compatible with a large range of terminal emulators on Linux and OSX systems. -.. image:: /resources/demo.gif +.. image:: http://i.imgur.com/4a3Yrov.gif ------------ Installation