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