Add Pocket support
[rainbowstream.git] / setup.py
CommitLineData
91476ec3 1from setuptools import setup, find_packages
8141aca6 2import os
3import os.path
91476ec3 4
1f2f6159 5# Bumped version
bb68c687 6version = '1.2.7'
91476ec3 7
1f2f6159 8# Require
91476ec3 9install_requires = [
7a466a72 10 "python-dateutil",
8b3456f9 11 "arrow",
7a466a72
O
12 "requests",
13 "pyfiglet",
991c30af
O
14 "twitter",
15 "Pillow",
337fa242
L
16 "PySocks",
17 "pocket"
7b674cef 18]
531f5682 19
1f2f6159 20# Copy default config if not exists
8619b00b 21default = os.path.expanduser("~") + os.sep + '.rainbow_config.json'
1f2f6159
O
22if not os.path.isfile(default):
23 cmd = 'cp rainbowstream/colorset/config ' + default
24 os.system(cmd)
21062aeb
O
25 cmd = 'chmod 777 ' + default
26 os.system(cmd)
1f2f6159
O
27
28# Setup
91476ec3
O
29setup(name='rainbowstream',
30 version=version,
3f89ae3a 31 description="A smart and nice Twitter client on terminal.",
fba038b1 32 long_description=open("./README.rst", "r").read(),
91476ec3
O
33 classifiers=[
34 "Development Status :: 5 - Production/Stable",
35 "Environment :: Console",
36 "Intended Audience :: End Users/Desktop",
37 "Natural Language :: English",
38 "Operating System :: OS Independent",
91476ec3 39 "Programming Language :: Python :: 2.7",
687567eb 40 "Programming Language :: Python :: 3.2",
41 "Programming Language :: Python :: 3.3",
1b752a04 42 "Programming Language :: Python :: 3.4",
91476ec3
O
43 "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
44 "Topic :: Utilities",
45 "License :: OSI Approved :: MIT License",
7b674cef 46 ],
c333c6dc 47 keywords='twitter, command-line tools, stream API',
91476ec3 48 author='Vu Nhat Minh',
7a466a72 49 author_email='nhatminh179@gmail.com',
1b752a04 50 url='http://www.rainbowstream.org/',
91476ec3
O
51 license='MIT License',
52 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
53 include_package_data=True,
54 zip_safe=True,
55 install_requires=install_requires,
56 entry_points="""
57 # -*- Entry points: -*-
58 [console_scripts]
2a488171 59 rainbowstream=rainbowstream.rainbow:fly
91476ec3
O
60 """,
61 )