diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..e029da6 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +recursive-include resources * diff --git a/rtv/content.py b/rtv/content.py index 4092163..fd8dd74 100644 --- a/rtv/content.py +++ b/rtv/content.py @@ -319,10 +319,10 @@ class SubredditContent(BaseContent): raise SubredditNameError(name) if display_type == 'top': - return cls('/r/'+sub.display_name + '/top', sub.get_top_from_all(limit=None), loader) + return cls('/r/'+sub.display_name+'/top', sub.get_top_from_all(limit=None), loader) elif display_type == 'new': - return cls('/r/'+sub.display_name + '/new', sub.get_new(limit=None), loader) + return cls('/r/'+sub.display_name+'/new', sub.get_new(limit=None), loader) else: return cls('/r/'+sub.display_name, sub.get_hot(limit=None), loader) diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..5e40900 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[wheel] +universal = 1 diff --git a/setup.py b/setup.py index b537a0b..6092cfe 100644 --- a/setup.py +++ b/setup.py @@ -4,14 +4,36 @@ from setuptools import setup setup( name='rtv', - version='1.0a1', + version='1.0a2', 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.'), url='https://github.com/michael-lazar/rtv', author='Michael Lazar', author_email='lazar.michael22@gmail.com', license='MIT', - keywords='reddit terminal praw', + keywords='reddit terminal praw curses', packages=['rtv'], install_requires=['praw', 'six'], - entry_points={'console_scripts': ['rtv=rtv.main:main']} + entry_points={'console_scripts': ['rtv=rtv.main:main']}, + classifiers=[ + 'Intended Audience :: End Users/Desktop', + 'Environment :: Console :: Curses', + 'Operating System :: MacOS :: MacOS X', + 'Operating System :: POSIX', + 'Natural Language :: English', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3.0', + 'Programming Language :: Python :: 3.1', + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', + 'Topic :: Terminals', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary', + ], )