41 lines
1.4 KiB
Python
41 lines
1.4 KiB
Python
import sys
|
|
import setuptools
|
|
|
|
from version import __version__ as version
|
|
|
|
requirements = ['tornado', 'praw>=3.3.0', 'six', 'requests', 'kitchen']
|
|
|
|
# Python 2: add required concurrent.futures backport from Python 3.2
|
|
if sys.version_info.major <= 2:
|
|
requirements.append('futures')
|
|
|
|
setuptools.setup(
|
|
name='rtv',
|
|
version=version,
|
|
description='A simple terminal viewer for Reddit (Reddit Terminal Viewer)',
|
|
long_description=open('README.rst').read(),
|
|
url='https://github.com/michael-lazar/rtv',
|
|
author='Michael Lazar',
|
|
author_email='lazar.michael22@gmail.com',
|
|
license='MIT',
|
|
keywords='reddit terminal praw curses',
|
|
packages=['rtv'],
|
|
package_data={'rtv': ['templates/index.html']},
|
|
data_files=[("share/man/man1", ["rtv.1"])],
|
|
install_requires=requirements,
|
|
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.4',
|
|
'Programming Language :: Python :: 3',
|
|
'Topic :: Terminals',
|
|
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards',
|
|
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary',
|
|
],
|
|
)
|