* Update `updateProfileBannerImage` to use the v1.1 endpoint * Added `getProfileBannerSizes` method using the GET /users/profile_banner.json endpoint * Fixed a couple of endpoints using variable in the url: * destroyDirectMessage, createBlock, destroyBlock no longer use id in their urls, this shouldn't break anything though. (t.destroyDirectMessage(id=123) should still work) * `oauth_verifier` is now **required** when calling `get_authorized_tokens` * Updated docs - removed getProfileImageUrl docs since it is deprecated. Noted since `Twython` 2.7.0 that users should focus on migrating to v1.1 endpoints since Twitter is deprecating v1 endpoints in May!,
35 lines
1.1 KiB
Python
35 lines
1.1 KiB
Python
from setuptools import setup
|
|
from setuptools import find_packages
|
|
|
|
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
|
|
__version__ = '2.7.0'
|
|
|
|
setup(
|
|
# Basic package information.
|
|
name='twython',
|
|
version=__version__,
|
|
packages=find_packages(),
|
|
|
|
# Packaging options.
|
|
include_package_data=True,
|
|
|
|
# Package dependencies.
|
|
install_requires=['requests>=1.0.0, <2.0.0', 'requests_oauthlib==0.3.0'],
|
|
|
|
# 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.rst').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'
|
|
]
|
|
)
|