Remove httplib2 dependency, remove "shortenUrl" function, no need for urllib2 either

* Removed shortenUrl since Twitter ALWAYS shortens the URL to a t.co,
anyways.

* Since removing shortenUrl, no need for urllib2 anymore

* No need for httplib2 anymore, either
This commit is contained in:
Michael Helmick 2012-03-08 12:24:03 -05:00
parent 8630dc3f03
commit 158bf77231
2 changed files with 24 additions and 43 deletions

View file

@ -1,6 +1,5 @@
#!/usr/bin/env python
import sys, os
from setuptools import setup
from setuptools import find_packages
@ -8,31 +7,31 @@ __author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '1.4.6'
setup(
# Basic package information.
name = 'twython',
version = __version__,
packages = find_packages(),
# Basic package information.
name='twython',
version=__version__,
packages=find_packages(),
# Packaging options.
include_package_data = True,
# Packaging options.
include_package_data=True,
# Package dependencies.
install_requires = ['simplejson', 'oauth2', 'httplib2', 'requests'],
# 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'
]
# 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'
]
)