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