Merge pull request #22 from juanpabloaj/setup

to show full readme.rst in pypi
This commit is contained in:
michael-lazar
2015-03-04 18:54:46 -08:00
2 changed files with 9 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ Reddit Terminal Viewer
RTV is built in Python and utilizes the **curses** library. 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. 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 Installation

View File

@@ -1,17 +1,19 @@
from setuptools import setup from setuptools import setup
import os
#python setup.py develop --user #python setup.py develop --user
#python setup.py develop --user --uninstall #python setup.py develop --user --uninstall
def read(*paths):
""" read files """
with open(os.path.join(*paths), 'r') as filename:
return filename.read()
setup( setup(
name='rtv', name='rtv',
version='1.0a4', version='1.0a4',
description='A simple terminal viewer for Reddit (Reddit Terminal Viewer)', description='A simple terminal viewer for Reddit (Reddit Terminal Viewer)',
long_description=( long_description=(read('README.rst')),
'**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.'),
url='https://github.com/michael-lazar/rtv', url='https://github.com/michael-lazar/rtv',
author='Michael Lazar', author='Michael Lazar',
author_email='lazar.michael22@gmail.com', author_email='lazar.michael22@gmail.com',