From: Kenneth Reitz Date: Tue, 1 May 2012 11:07:18 +0000 (-0400) Subject: oauthlib only for 2 X-Git-Tag: v0.12.0~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d9699bbdc332319bd91d8a2cbd55cfa697453cb;p=services%2Fpython-requests.git oauthlib only for 2 --- diff --git a/setup.py b/setup.py index b9a2565..a080e8a 100755 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ if sys.argv[-1] == 'test': os.system('python tests/test_requests.py') sys.exit() -required = ['certifi>=0.0.7','oauthlib'] +required = ['certifi>=0.0.7'] packages = [ 'requests', 'requests.packages', @@ -35,9 +35,9 @@ if is_py3: required.append('chardet2') else: required.append('chardet>=1.0.0') + required.append('oauthlib') packages.append('requests.packages.oreos') - setup( name='requests', version=requests.__version__,