X-Git-Url: https://jfr.im/git/z_archive/twitter.git/blobdiff_plain/21e3bd236aefebc9d8ce60b4352a966537a4268f..a09e1e3d673ca08cee5919b51a00ccf6616687b7:/setup.py diff --git a/setup.py b/setup.py index 9a61d64..d990bbf 100644 --- a/setup.py +++ b/setup.py @@ -1,20 +1,18 @@ from setuptools import setup, find_packages import sys, os -version = '0.4' +version = '1.15.0' + +install_requires = [ + # -*- Extra requirements: -*- + ] +if sys.version_info < (2,7): + install_requires.append('argparse') setup(name='twitter', version=version, description="An API and command-line toolset for Twitter (twitter.com)", - long_description="""\ -An API and command-line toolset for Twitter (twitter.com). Includes: - - * a lightweight Twitter API access class. - * a twitter command-line tool for setting your status and getting your - friends' status - * a twitter IRC bot for announcing status updates to an IRC channel - -""", + long_description=open("./README", "r").read(), # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ "Development Status :: 5 - Production/Stable", @@ -22,7 +20,11 @@ An API and command-line toolset for Twitter (twitter.com). Includes: "Intended Audience :: End Users/Desktop", "Natural Language :: English", "Operating System :: OS Independent", - "Programming Language :: Python", + "Programming Language :: Python :: 2.6", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3.2", + "Programming Language :: Python :: 3.3", + "Programming Language :: Python :: 3.4", "Topic :: Communications :: Chat :: Internet Relay Chat", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", @@ -36,15 +38,15 @@ An API and command-line toolset for Twitter (twitter.com). Includes: packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=True, - install_requires=[ - # -*- Extra requirements: -*- - "simplejson>=1.7.1", - "dateutil>=1.1", - ], + install_requires=install_requires, entry_points=""" # -*- Entry points: -*- [console_scripts] twitter=twitter.cmdline:main twitterbot=twitter.ircbot:main + twitter-log=twitter.logger:main + twitter-archiver=twitter.archiver:main + twitter-follow=twitter.follow:main + twitter-stream-example=twitter.stream_example:main """, )