]>
Commit | Line | Data |
---|---|---|
7364ea65 | 1 | from setuptools import setup, find_packages |
2 | import sys, os | |
3 | ||
396478d0 | 4 | version = '1.17.0' |
7364ea65 | 5 | |
d92a068d | 6 | install_requires = [ |
af37e278 | 7 | # -*- Extra requirements: -*- |
d92a068d | 8 | ] |
49b333be R |
9 | if sys.version_info < (2,7): |
10 | install_requires.append('argparse') | |
af37e278 | 11 | |
2c9df1df KK |
12 | tests_require = [ |
13 | 'nose', | |
14 | ] | |
15 | ||
aac3dffb | 16 | setup(name='twitter', |
7364ea65 | 17 | version=version, |
18 | description="An API and command-line toolset for Twitter (twitter.com)", | |
5b8b1ead | 19 | long_description=open("./README", "r").read(), |
5b7080ef | 20 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
21 | classifiers=[ | |
21e3bd23 | 22 | "Development Status :: 5 - Production/Stable", |
5b7080ef | 23 | "Environment :: Console", |
24 | "Intended Audience :: End Users/Desktop", | |
25 | "Natural Language :: English", | |
26 | "Operating System :: OS Independent", | |
6129a21e | 27 | "Programming Language :: Python :: 2.6", |
aac3dffb | 28 | "Programming Language :: Python :: 2.7", |
433db80d | 29 | "Programming Language :: Python :: 3.2", |
0078efe3 MV |
30 | "Programming Language :: Python :: 3.3", |
31 | "Programming Language :: Python :: 3.4", | |
5b7080ef | 32 | "Topic :: Communications :: Chat :: Internet Relay Chat", |
33 | "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", | |
34 | "Topic :: Utilities", | |
21e3bd23 | 35 | "License :: OSI Approved :: MIT License", |
5b7080ef | 36 | ], |
37 | keywords='twitter, IRC, command-line tools, web 2.0', | |
7364ea65 | 38 | author='Mike Verdone', |
5b7080ef | 39 | author_email='mike.verdone+twitterapi@gmail.com', |
7364ea65 | 40 | url='http://mike.verdone.ca/twitter/', |
21e3bd23 | 41 | license='MIT License', |
7364ea65 | 42 | packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
43 | include_package_data=True, | |
44 | zip_safe=True, | |
af37e278 | 45 | install_requires=install_requires, |
2c9df1df KK |
46 | tests_require=tests_require, |
47 | test_suite = 'nose.collector', | |
7364ea65 | 48 | entry_points=""" |
49 | # -*- Entry points: -*- | |
5251ea48 | 50 | [console_scripts] |
51 | twitter=twitter.cmdline:main | |
7d7c8094 | 52 | twitterbot=twitter.ircbot:main |
146b4f29 | 53 | twitter-log=twitter.logger:main |
a7282452 S |
54 | twitter-archiver=twitter.archiver:main |
55 | twitter-follow=twitter.follow:main | |
640e695c | 56 | twitter-stream-example=twitter.stream_example:main |
7364ea65 | 57 | """, |
58 | ) |