Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a737c75 commit fc246feCopy full SHA for fc246fe
setup.py
@@ -31,30 +31,6 @@
31
sys.exit(1)
32
33
from setuptools import setup
34
-import pkg_resources
35
-
36
-def _DetectBadness():
37
- import os
38
- if 'SKIP_GOOGLEAPICLIENT_COMPAT_CHECK' in os.environ:
39
- return
40
- o2c_pkg = None
41
- try:
42
- o2c_pkg = pkg_resources.get_distribution('oauth2client')
43
- except pkg_resources.DistributionNotFound:
44
- pass
45
- oauth2client = None
46
47
- import oauth2client
48
- except ImportError:
49
50
- if o2c_pkg is None and oauth2client is not None:
51
- raise RuntimeError(
52
- 'Previous version of google-api-python-client detected; due to a '
53
- 'packaging issue, we cannot perform an in-place upgrade. Please remove '
54
- 'the old version and re-install this package.'
55
- )
56
57
-_DetectBadness()
58
59
packages = [
60
'apiclient',
0 commit comments