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