]>
Commit | Line | Data |
---|---|---|
1 | from setuptools import setup, find_packages | |
2 | import sys, os | |
3 | ||
4 | version = '1.5.1' | |
5 | ||
6 | install_requires = [ | |
7 | # -*- Extra requirements: -*- | |
8 | ] | |
9 | ||
10 | if sys.version_info < (2,6,): | |
11 | install_requires.append("simplejson>=1.7.1") | |
12 | ||
13 | if sys.version_info < (3,): | |
14 | # There is no dateutil for Python 3. :( | |
15 | install_requires.append("python-dateutil>=1.1") | |
16 | ||
17 | ||
18 | setup(name='twitter3', | |
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 :: 3", | |
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 | """, | |
49 | ) |