Upping version number, prepared setup.py for pip.

This commit is contained in:
Michael Lazar
2015-03-03 00:41:38 -08:00
parent 1fc1eb5972
commit a6b772a3e9
4 changed files with 30 additions and 5 deletions

1
MANIFEST.in Normal file
View File

@@ -0,0 +1 @@
recursive-include resources *

View File

@@ -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)

2
setup.cfg Normal file
View File

@@ -0,0 +1,2 @@
[wheel]
universal = 1

View File

@@ -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',
],
)