File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed
googleapiclient/discovery_cache Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 36
36
try :
37
37
from oauth2client .locked_file import LockedFile
38
38
except ImportError :
39
- # oauth2client > 4.0.0
39
+ # oauth2client > 4.0.0 or google-auth
40
40
raise ImportError (
41
- 'file_cache is unavailable when using oauth2client >= 4.0.0' )
41
+ 'file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth ' )
42
42
43
43
from . import base
44
44
from ..discovery_cache import DISCOVERY_DOC_MAX_AGE
Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ def _DetectBadness():
64
64
65
65
install_requires = [
66
66
'httplib2>=0.9.2,<1dev' ,
67
- 'oauth2client>=1.5.0,<5.0.0dev' ,
67
+ 'google-auth>=1.4.1' ,
68
+ 'google-auth-httplib2>=0.0.3' ,
68
69
'six>=1.6.1,<2dev' ,
69
70
'uritemplate>=3.0.0,<4dev' ,
70
71
]
Original file line number Diff line number Diff line change 16
16
__author__ = '[email protected] (Ali Afshar)'
17
17
18
18
19
- # Oauth2client < 3 has the positional helper in 'util', >= 3 has it
20
- # in '_helpers'.
21
- try :
22
- from oauth2client import util
23
- except ImportError :
24
- from oauth2client import _helpers as util
19
+ from googleapiclient import _helpers as util
25
20
26
21
27
22
def setup_package ():
You can’t perform that action at this time.
0 commit comments