Skip to content
Myr

oauthlib only for 2

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent e6cce7a · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:setup.py+2 added-2 removed
19 unmodified lines
20if sys.argv[-1] == 'test':21 os.system('python tests/test_requests.py')22 sys.exit()2324required = ['certifi>=0.0.7','oauthlib']24required = ['certifi>=0.0.7']25packages = [26 'requests',27 'requests.packages',28 'requests.packages.urllib3',
5 unmodified lines
34if is_py3:35 required.append('chardet2')36else:37 required.append('chardet>=1.0.0')38 required.append('oauthlib')39 packages.append('requests.packages.oreos')404041setup(42 name='requests',43 version=requests.__version__,44 description='Python HTTP for Humans.',
23 unmodified lines