- requests is now the default url/http library, thanks to Mike Helmick
- Initial pass at a Streaming API is now included (Twython.stream()), due to how easy
requests makes it. Would actually be sad if we *didn't* have this... thanks, Kenneth. >_>;
- Return of shortenURL, for people who may have relied on it before.
- Deleted streaming handler that existed before but never got implemented fully.
- Exceptions now prefixed with Twython, but brought back originals with a more verbose error directing
people to new ones, deprecate fully in future.
- Twython3k now has an OAuth fix for callback_urls, though it still relies on httplib2. Thanks @jbouvier!
- Added a list of contributors to the README files, something which I should have done long ago. Thank you all.
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.5.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'
|
|
]
|
|
)
|