1 from setuptools
import setup
, find_packages
17 # Python 3 doesn't hava pysqlite
18 if sys
.version
[0] == "2":
19 install_requires
+= ["pysqlite"]
21 # Copy default config if not exists
22 default
= os
.environ
.get(
26 '')) + os
.sep
+ '.rainbow_config.json'
27 if not os
.path
.isfile(default
):
28 cmd
= 'cp rainbowstream/colorset/config ' + default
32 setup(name
='rainbowstream',
34 description
="A smart and nice Twitter client on terminal.",
35 long_description
=open("./README.rst", "r").read(),
37 "Development Status :: 5 - Production/Stable",
38 "Environment :: Console",
39 "Intended Audience :: End Users/Desktop",
40 "Natural Language :: English",
41 "Operating System :: OS Independent",
42 "Programming Language :: Python :: 2.7",
43 "Programming Language :: Python :: 3.2",
44 "Programming Language :: Python :: 3.3",
45 "Programming Language :: Python :: 3.4",
46 "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
48 "License :: OSI Approved :: MIT License",
50 keywords
='twitter, command-line tools, stream API',
51 author
='Vu Nhat Minh',
52 author_email
='nhatminh179@gmail.com',
53 url
='http://www.rainbowstream.org/',
54 license
='MIT License',
55 packages
=find_packages(exclude
=['ez_setup', 'examples', 'tests']),
56 include_package_data
=True,
58 install_requires
=install_requires
,
60 # -*- Entry points: -*-
62 rainbowstream=rainbowstream.rainbow:fly