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