BigW Consortium Gitlab

Commit aa695d11 by Tarun Bhardwaj Committed by GitHub

Merge pull request #4 from riteshshrv/develop

Respect requirements in setup.py
parents d0efb937 7d502864
...@@ -59,6 +59,6 @@ class EtsyOAuthClient(oauth.Client): ...@@ -59,6 +59,6 @@ class EtsyOAuthClient(oauth.Client):
d = dict(parse_qsl(content)) d = dict(parse_qsl(content))
try: try:
return oauth.Token(d['oauth_token'], d['oauth_token_secret']) return EtsyOAuthToken(d['oauth_token'], d['oauth_token_secret'])
except KeyError: except KeyError:
return None return None
...@@ -7,8 +7,8 @@ long_description = open(os.path.join(this_dir, 'README.md'), 'r').read() ...@@ -7,8 +7,8 @@ long_description = open(os.path.join(this_dir, 'README.md'), 'r').read()
requirements = [ requirements = [
'httplib2', 'httplib2',
'oauth2==1.9.0.post1', 'oauth2>=1.2.0',
'simplejson', 'simplejson>=2.0',
] ]
test_requirements = [ test_requirements = [
...@@ -26,9 +26,6 @@ setup( ...@@ -26,9 +26,6 @@ setup(
packages=['etsy'], packages=['etsy'],
long_description=long_description, long_description=long_description,
test_suite='test', test_suite='test',
install_requires=['simplejson >= 2.0'], install_requires=requirements,
extras_require={
'OAuth': ["oauth2>=1.2.0"],
},
package_data={'etsy': ['README.md']}, package_data={'etsy': ['README.md']},
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment