]>
Commit | Line | Data |
---|---|---|
7364ea65 | 1 | from setuptools import setup, find_packages |
2 | import sys, os | |
3 | ||
b621300b | 4 | version = '1.5' |
7364ea65 | 5 | |
d92a068d | 6 | install_requires = [ |
af37e278 MV |
7 | # -*- Extra requirements: -*- |
8 | "python-dateutil>=1.1", | |
d92a068d | 9 | ] |
af37e278 MV |
10 | |
11 | def _py26OrGreater(): | |
12 | return sys.hexversion > 0x20600f0 | |
13 | ||
14 | if not _py26OrGreater(): | |
15 | install_requires.append("simplejson>=1.7.1") | |
16 | ||
17 | ||
7364ea65 | 18 | setup(name='twitter', |
19 | version=version, | |
20 | description="An API and command-line toolset for Twitter (twitter.com)", | |
5b8b1ead | 21 | long_description=open("./README", "r").read(), |
5b7080ef | 22 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
23 | classifiers=[ | |
21e3bd23 | 24 | "Development Status :: 5 - Production/Stable", |
5b7080ef | 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", | |
21e3bd23 | 33 | "License :: OSI Approved :: MIT License", |
5b7080ef | 34 | ], |
35 | keywords='twitter, IRC, command-line tools, web 2.0', | |
7364ea65 | 36 | author='Mike Verdone', |
5b7080ef | 37 | author_email='mike.verdone+twitterapi@gmail.com', |
7364ea65 | 38 | url='http://mike.verdone.ca/twitter/', |
21e3bd23 | 39 | license='MIT License', |
7364ea65 | 40 | packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
41 | include_package_data=True, | |
42 | zip_safe=True, | |
af37e278 | 43 | install_requires=install_requires, |
7364ea65 | 44 | entry_points=""" |
45 | # -*- Entry points: -*- | |
5251ea48 | 46 | [console_scripts] |
47 | twitter=twitter.cmdline:main | |
7d7c8094 | 48 | twitterbot=twitter.ircbot:main |
7364ea65 | 49 | """, |
50 | ) |