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