Merge branch 'master' of github.com:LnAlex/rainbowstream
[rainbowstream.git] / setup.py
1 from setuptools import setup, find_packages
2 import os
3 import os.path
4
5 # Bumped version
6 version = '1.3.0'
7
8 # Require
9 install_requires = [
10 "python-dateutil",
11 "arrow",
12 "requests==2.5.3",
13 "pyfiglet",
14 "twitter",
15 "Pillow",
16 "PySocks",
17 "pocket"
18 ]
19
20 # Copy default config if not exists
21 default = os.path.expanduser("~") + os.sep + '.rainbow_config.json'
22 if not os.path.isfile(default):
23 cmd = 'cp rainbowstream/colorset/config ' + default
24 os.system(cmd)
25 cmd = 'chmod 777 ' + default
26 os.system(cmd)
27
28 # Setup
29 setup(name='rainbowstream',
30 version=version,
31 description="A smart and nice Twitter client on terminal.",
32 long_description=open("./README.rst", "r").read(),
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",
39 "Programming Language :: Python :: 2.7",
40 "Programming Language :: Python :: 3.2",
41 "Programming Language :: Python :: 3.3",
42 "Programming Language :: Python :: 3.4",
43 "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
44 "Topic :: Utilities",
45 "License :: OSI Approved :: MIT License",
46 ],
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,
54 zip_safe=True,
55 install_requires=install_requires,
56 entry_points="""
57 # -*- Entry points: -*-
58 [console_scripts]
59 rainbowstream=rainbowstream.rainbow:fly
60 """,
61 )