]> jfr.im git - z_archive/twitter.git/blob - setup.py
Here comes 1.3!
[z_archive/twitter.git] / setup.py
1 from setuptools import setup, find_packages
2 import sys, os
3
4 version = '1.3'
5
6 install_requires=[
7 # -*- Extra requirements: -*-
8 "python-dateutil>=1.1",
9 ],
10
11 def _py26OrGreater():
12 return sys.hexversion > 0x20600f0
13
14 if not _py26OrGreater():
15 install_requires.append("simplejson>=1.7.1")
16
17
18 setup(name='twitter',
19 version=version,
20 description="An API and command-line toolset for Twitter (twitter.com)",
21 long_description=open("./README", "r").read(),
22 # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
23 classifiers=[
24 "Development Status :: 5 - Production/Stable",
25 "Environment :: Console",
26 "Intended Audience :: End Users/Desktop",
27 "Natural Language :: English",
28 "Operating System :: OS Independent",
29 "Programming Language :: Python",
30 "Topic :: Communications :: Chat :: Internet Relay Chat",
31 "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
32 "Topic :: Utilities",
33 "License :: OSI Approved :: MIT License",
34 ],
35 keywords='twitter, IRC, command-line tools, web 2.0',
36 author='Mike Verdone',
37 author_email='mike.verdone+twitterapi@gmail.com',
38 url='http://mike.verdone.ca/twitter/',
39 license='MIT License',
40 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
41 include_package_data=True,
42 zip_safe=True,
43 install_requires=install_requires,
44 entry_points="""
45 # -*- Entry points: -*-
46 [console_scripts]
47 twitter=twitter.cmdline:main
48 twitterbot=twitter.ircbot:main
49 """,
50 )