* We don't need RequestException anymore. * I changed TwythonError to raise TwythonRateLimitError instead of TwythonAPIError since TwythonRateLimitError is more verbose and in the belief we should deprecate TwythonAPILimit and ultimately remove it in 2.0 * And I updated the version to 1.7.0 -- I feel like development as far as versioning seems like it's going fast, but versioning is versioning and I'm following Twitter's rhythm of versioning <major>.<minor>.<bugfix>, minor changing when minor features or significant fixes have been added. In this case, TwythonRateLimitError should start being caught in place of TwythonAPILimit
37 lines
1.1 KiB
Python
37 lines
1.1 KiB
Python
#!/usr/bin/env python
|
|
|
|
from setuptools import setup
|
|
from setuptools import find_packages
|
|
|
|
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
|
|
__version__ = '1.7.0'
|
|
|
|
setup(
|
|
# Basic package information.
|
|
name='twython',
|
|
version=__version__,
|
|
packages=find_packages(),
|
|
|
|
# Packaging options.
|
|
include_package_data=True,
|
|
|
|
# Package dependencies.
|
|
install_requires=['simplejson', 'oauth2', 'requests', 'requests-oauth'],
|
|
|
|
# Metadata for PyPI.
|
|
author='Ryan McGrath',
|
|
author_email='ryan@venodesigns.net',
|
|
license='MIT License',
|
|
url='http://github.com/ryanmcgrath/twython/tree/master',
|
|
keywords='twitter search api tweet twython',
|
|
description='An easy (and up to date) way to access Twitter data with Python.',
|
|
long_description=open('README.markdown').read(),
|
|
classifiers=[
|
|
'Development Status :: 4 - Beta',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: MIT License',
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
'Topic :: Communications :: Chat',
|
|
'Topic :: Internet'
|
|
]
|
|
)
|