Skip to content
Myr

fix setup.py for oauth removal

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 4d06e40 · Browse files · 1 file+2 added−11 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−11 removed

  • other:+2 added−11 removed

1 file+2 added−11 removed

modified:setup.py+2 added-11 removed
2 unmodified lines
3import os4import sys56import requests7from requests.compat import is_py27from requests.compat import is_py389try:10 from setuptools import setup11except ImportError:
12 unmodified lines
24 'requests.packages.urllib3.packages',25 'requests.packages.urllib3.packages.ssl_match_hostname'26]2728if is_py2:29 packages.extend([30 'requests.packages.oauthlib',31 'requests.packages.oauthlib.oauth1',32 'requests.packages.oauthlib.oauth1.rfc5849',33 'requests.packages.oauthlib.oauth2',34 'requests.packages.oauthlib.oauth2.draft25',35 'requests.packages.chardet',36 ])37else:28if is_py3:29 packages.append('requests.packages.chardet2')3031requires = []32
33 unmodified lines