File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 17
17
Also installs included versions of third party libraries, if those libraries
18
18
are not already installed.
19
19
"""
20
+ from __future__ import print_function
21
+
22
+ import sys
23
+
24
+ if sys .version_info <= (2 , 6 ):
25
+ print ('oauth2client requires python version >= 2.6.' , file = sys .stderr )
26
+ sys .exit (1 )
27
+
20
28
from setuptools import setup
21
29
22
30
packages = [
29
37
'httplib2>=0.8' ,
30
38
]
31
39
32
- needs_json = False
33
- try :
34
- import json
35
- except ImportError :
36
- try :
37
- import simplejson
38
- except ImportError :
39
- needs_json = True
40
-
41
- if needs_json :
42
- install_requires .append ('simplejson' )
43
-
44
40
long_desc = """The Google API Client for Python is a client library for
45
41
accessing the Plus, Moderator, and many other Google APIs."""
46
42
You can’t perform that action at this time.
0 commit comments