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