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