We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Google cloud storage needs requests >= 2.18.0 but the setup.py only requires >= 2.4.0
According to the requests [changelog](http://docs.python-requests.org/en/latest/community/updates/) the Response class was turned into a context manager only in version 2.18.0. However in google/resumable_media/requests/download.py line 62 (inside _write_to_stream) the code tries to use "response" as a context manager. Some digging reveals that this response makes its way from Client._http which is defined in google/cloud/client.py and gets the Response object from google/auth/transport/requests.py:AuthorizedSession.

So... it definitely feels like something in here needs to require requests >= 2.18.0 (maybe all of them?). 

Thoughts?

Detailed info:

1. OS type and version: N/A
2. Python version and virtual environment information: 2.7 but I don't think it matters.
3. google-cloud-python version: google-cloud-storage v 1.3.1
4. Stacktrace if available: below.
5. Steps to reproduce: Install a version of the requests library _less than 2.18.0_. Get some blob that exists. Try blob.download_as_string(). I personally re-pro'd this with version 2.10.0 to check. Note that the setup.py only requires 2.0.0 for storage and 2.4.0 for client, etc...

-- PG.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `storage/setup.py`
Content:
```
1 # Copyright 2016 Google Inc.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 
15 import os
16 
17 from setuptools import find_packages
18 from setuptools import setup
19 
20 
21 PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
22 
23 with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
24     README = file_obj.read()
25 
26 # NOTE: This is duplicated throughout and we should try to
27 #       consolidate.
28 SETUP_BASE = {
29     'author': 'Google Cloud Platform',
30     'author_email': 'googleapis-publisher@google.com',
31     'scripts': [],
32     'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',
33     'license': 'Apache 2.0',
34     'platforms': 'Posix; MacOS X; Windows',
35     'include_package_data': True,
36     'zip_safe': False,
37     'classifiers': [
38         'Development Status :: 5 - Production/Stable',
39         'Intended Audience :: Developers',
40         'License :: OSI Approved :: Apache Software License',
41         'Operating System :: OS Independent',
42         'Programming Language :: Python :: 2',
43         'Programming Language :: Python :: 2.7',
44         'Programming Language :: Python :: 3',
45         'Programming Language :: Python :: 3.4',
46         'Programming Language :: Python :: 3.5',
47         'Programming Language :: Python :: 3.6',
48         'Topic :: Internet',
49     ],
50 }
51 
52 
53 REQUIREMENTS = [
54     'google-cloud-core >= 0.26.0, < 0.27dev',
55     'google-auth >= 1.0.0',
56     'google-resumable-media >= 0.2.3',
57     'requests >= 2.0.0',
58 ]
59 
60 setup(
61     name='google-cloud-storage',
62     version='1.3.1',
63     description='Python Client for Google Cloud Storage',
64     long_description=README,
65     namespace_packages=[
66         'google',
67         'google.cloud',
68     ],
69     packages=find_packages(exclude=('tests*',)),
70     install_requires=REQUIREMENTS,
71     **SETUP_BASE
72 )
73
```

Path: `core/setup.py`
Content:
```
1 # Copyright 2016 Google Inc.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 
15 import os
16 
17 from setuptools import find_packages
18 from setuptools import setup
19 
20 
21 PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
22 
23 with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
24     README = file_obj.read()
25 
26 # NOTE: This is duplicated throughout and we should try to
27 #       consolidate.
28 SETUP_BASE = {
29     'author': 'Google Cloud Platform',
30     'author_email': 'googleapis-publisher@google.com',
31     'scripts': [],
32     'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',
33     'license': 'Apache 2.0',
34     'platforms': 'Posix; MacOS X; Windows',
35     'include_package_data': True,
36     'zip_safe': False,
37     'classifiers': [
38         'Development Status :: 4 - Beta',
39         'Intended Audience :: Developers',
40         'License :: OSI Approved :: Apache Software License',
41         'Operating System :: OS Independent',
42         'Programming Language :: Python :: 2',
43         'Programming Language :: Python :: 2.7',
44         'Programming Language :: Python :: 3',
45         'Programming Language :: Python :: 3.4',
46         'Programming Language :: Python :: 3.5',
47         'Programming Language :: Python :: 3.6',
48         'Topic :: Internet',
49     ],
50 }
51 
52 
53 REQUIREMENTS = [
54     'googleapis-common-protos >= 1.3.4',
55     'protobuf >= 3.0.0',
56     'google-auth >= 0.4.0, < 2.0.0dev',
57     'requests >= 2.4.0, < 3.0.0dev',
58     'setuptools >= 34.0.0',
59     'six',
60     'tenacity >= 4.0.0, <5.0.0dev'
61 ]
62 
63 setup(
64     name='google-cloud-core',
65     version='0.26.0',
66     description='API Client library for Google Cloud: Core Helpers',
67     long_description=README,
68     namespace_packages=[
69         'google',
70         'google.cloud',
71         'google.api',
72     ],
73     packages=find_packages(exclude=('tests*',)),
74     install_requires=REQUIREMENTS,
75     **SETUP_BASE
76 )
77
```

Path: `bigquery/setup.py`
Content:
```
1 # Copyright 2016 Google Inc.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 
15 import os
16 
17 from setuptools import find_packages
18 from setuptools import setup
19 
20 
21 PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
22 
23 with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
24     README = file_obj.read()
25 
26 # NOTE: This is duplicated throughout and we should try to
27 #       consolidate.
28 SETUP_BASE = {
29     'author': 'Google Cloud Platform',
30     'author_email': 'googleapis-publisher@google.com',
31     'scripts': [],
32     'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',
33     'license': 'Apache 2.0',
34     'platforms': 'Posix; MacOS X; Windows',
35     'include_package_data': True,
36     'zip_safe': False,
37     'classifiers': [
38         'Development Status :: 4 - Beta',
39         'Intended Audience :: Developers',
40         'License :: OSI Approved :: Apache Software License',
41         'Operating System :: OS Independent',
42         'Programming Language :: Python :: 2',
43         'Programming Language :: Python :: 2.7',
44         'Programming Language :: Python :: 3',
45         'Programming Language :: Python :: 3.4',
46         'Programming Language :: Python :: 3.5',
47         'Programming Language :: Python :: 3.6',
48         'Topic :: Internet',
49     ],
50 }
51 
52 
53 REQUIREMENTS = [
54     'google-cloud-core >= 0.26.0, < 0.27dev',
55     'google-auth >= 1.0.0',
56     'google-resumable-media >= 0.2.1',
57     'requests >= 2.0.0',
58 ]
59 
60 setup(
61     name='google-cloud-bigquery',
62     version='0.26.0',
63     description='Python Client for Google BigQuery',
64     long_description=README,
65     namespace_packages=[
66         'google',
67         'google.cloud',
68     ],
69     packages=find_packages(exclude=('tests*',)),
70     install_requires=REQUIREMENTS,
71     **SETUP_BASE
72 )
73
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/bigquery/setup.py b/bigquery/setup.py
--- a/bigquery/setup.py
+++ b/bigquery/setup.py
@@ -54,7 +54,7 @@
     'google-cloud-core >= 0.26.0, < 0.27dev',
     'google-auth >= 1.0.0',
     'google-resumable-media >= 0.2.1',
-    'requests >= 2.0.0',
+    'requests >= 2.18.0',
 ]
 
 setup(
diff --git a/core/setup.py b/core/setup.py
--- a/core/setup.py
+++ b/core/setup.py
@@ -54,7 +54,7 @@
     'googleapis-common-protos >= 1.3.4',
     'protobuf >= 3.0.0',
     'google-auth >= 0.4.0, < 2.0.0dev',
-    'requests >= 2.4.0, < 3.0.0dev',
+    'requests >= 2.18.0, < 3.0.0dev',
     'setuptools >= 34.0.0',
     'six',
     'tenacity >= 4.0.0, <5.0.0dev'
diff --git a/storage/setup.py b/storage/setup.py
--- a/storage/setup.py
+++ b/storage/setup.py
@@ -54,7 +54,7 @@
     'google-cloud-core >= 0.26.0, < 0.27dev',
     'google-auth >= 1.0.0',
     'google-resumable-media >= 0.2.3',
-    'requests >= 2.0.0',
+    'requests >= 2.18.0',
 ]
 
 setup(

{"golden_diff": "diff --git a/bigquery/setup.py b/bigquery/setup.py\n--- a/bigquery/setup.py\n+++ b/bigquery/setup.py\n@@ -54,7 +54,7 @@\n     'google-cloud-core >= 0.26.0, < 0.27dev',\n     'google-auth >= 1.0.0',\n     'google-resumable-media >= 0.2.1',\n-    'requests >= 2.0.0',\n+    'requests >= 2.18.0',\n ]\n \n setup(\ndiff --git a/core/setup.py b/core/setup.py\n--- a/core/setup.py\n+++ b/core/setup.py\n@@ -54,7 +54,7 @@\n     'googleapis-common-protos >= 1.3.4',\n     'protobuf >= 3.0.0',\n     'google-auth >= 0.4.0, < 2.0.0dev',\n-    'requests >= 2.4.0, < 3.0.0dev',\n+    'requests >= 2.18.0, < 3.0.0dev',\n     'setuptools >= 34.0.0',\n     'six',\n     'tenacity >= 4.0.0, <5.0.0dev'\ndiff --git a/storage/setup.py b/storage/setup.py\n--- a/storage/setup.py\n+++ b/storage/setup.py\n@@ -54,7 +54,7 @@\n     'google-cloud-core >= 0.26.0, < 0.27dev',\n     'google-auth >= 1.0.0',\n     'google-resumable-media >= 0.2.3',\n-    'requests >= 2.0.0',\n+    'requests >= 2.18.0',\n ]\n \n setup(\n", "issue": "Google cloud storage needs requests >= 2.18.0 but the setup.py only requires >= 2.4.0\nAccording to the requests [changelog](http://docs.python-requests.org/en/latest/community/updates/) the Response class was turned into a context manager only in version 2.18.0. However in google/resumable_media/requests/download.py line 62 (inside _write_to_stream) the code tries to use \"response\" as a context manager. Some digging reveals that this response makes its way from Client._http which is defined in google/cloud/client.py and gets the Response object from google/auth/transport/requests.py:AuthorizedSession.\r\n\r\nSo... it definitely feels like something in here needs to require requests >= 2.18.0 (maybe all of them?). \r\n\r\nThoughts?\r\n\r\nDetailed info:\r\n\r\n1. OS type and version: N/A\r\n2. Python version and virtual environment information: 2.7 but I don't think it matters.\r\n3. google-cloud-python version: google-cloud-storage v 1.3.1\r\n4. Stacktrace if available: below.\r\n5. Steps to reproduce: Install a version of the requests library _less than 2.18.0_. Get some blob that exists. Try blob.download_as_string(). I personally re-pro'd this with version 2.10.0 to check. Note that the setup.py only requires 2.0.0 for storage and 2.4.0 for client, etc...\r\n\r\n-- PG.\n", "before_files": [{"content": "# Copyright 2016 Google Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport os\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\n\nPACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:\n    README = file_obj.read()\n\n# NOTE: This is duplicated throughout and we should try to\n#       consolidate.\nSETUP_BASE = {\n    'author': 'Google Cloud Platform',\n    'author_email': 'googleapis-publisher@google.com',\n    'scripts': [],\n    'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',\n    'license': 'Apache 2.0',\n    'platforms': 'Posix; MacOS X; Windows',\n    'include_package_data': True,\n    'zip_safe': False,\n    'classifiers': [\n        'Development Status :: 5 - Production/Stable',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: Apache Software License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Topic :: Internet',\n    ],\n}\n\n\nREQUIREMENTS = [\n    'google-cloud-core >= 0.26.0, < 0.27dev',\n    'google-auth >= 1.0.0',\n    'google-resumable-media >= 0.2.3',\n    'requests >= 2.0.0',\n]\n\nsetup(\n    name='google-cloud-storage',\n    version='1.3.1',\n    description='Python Client for Google Cloud Storage',\n    long_description=README,\n    namespace_packages=[\n        'google',\n        'google.cloud',\n    ],\n    packages=find_packages(exclude=('tests*',)),\n    install_requires=REQUIREMENTS,\n    **SETUP_BASE\n)\n", "path": "storage/setup.py"}, {"content": "# Copyright 2016 Google Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport os\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\n\nPACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:\n    README = file_obj.read()\n\n# NOTE: This is duplicated throughout and we should try to\n#       consolidate.\nSETUP_BASE = {\n    'author': 'Google Cloud Platform',\n    'author_email': 'googleapis-publisher@google.com',\n    'scripts': [],\n    'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',\n    'license': 'Apache 2.0',\n    'platforms': 'Posix; MacOS X; Windows',\n    'include_package_data': True,\n    'zip_safe': False,\n    'classifiers': [\n        'Development Status :: 4 - Beta',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: Apache Software License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Topic :: Internet',\n    ],\n}\n\n\nREQUIREMENTS = [\n    'googleapis-common-protos >= 1.3.4',\n    'protobuf >= 3.0.0',\n    'google-auth >= 0.4.0, < 2.0.0dev',\n    'requests >= 2.4.0, < 3.0.0dev',\n    'setuptools >= 34.0.0',\n    'six',\n    'tenacity >= 4.0.0, <5.0.0dev'\n]\n\nsetup(\n    name='google-cloud-core',\n    version='0.26.0',\n    description='API Client library for Google Cloud: Core Helpers',\n    long_description=README,\n    namespace_packages=[\n        'google',\n        'google.cloud',\n        'google.api',\n    ],\n    packages=find_packages(exclude=('tests*',)),\n    install_requires=REQUIREMENTS,\n    **SETUP_BASE\n)\n", "path": "core/setup.py"}, {"content": "# Copyright 2016 Google Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport os\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\n\nPACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:\n    README = file_obj.read()\n\n# NOTE: This is duplicated throughout and we should try to\n#       consolidate.\nSETUP_BASE = {\n    'author': 'Google Cloud Platform',\n    'author_email': 'googleapis-publisher@google.com',\n    'scripts': [],\n    'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',\n    'license': 'Apache 2.0',\n    'platforms': 'Posix; MacOS X; Windows',\n    'include_package_data': True,\n    'zip_safe': False,\n    'classifiers': [\n        'Development Status :: 4 - Beta',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: Apache Software License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Topic :: Internet',\n    ],\n}\n\n\nREQUIREMENTS = [\n    'google-cloud-core >= 0.26.0, < 0.27dev',\n    'google-auth >= 1.0.0',\n    'google-resumable-media >= 0.2.1',\n    'requests >= 2.0.0',\n]\n\nsetup(\n    name='google-cloud-bigquery',\n    version='0.26.0',\n    description='Python Client for Google BigQuery',\n    long_description=README,\n    namespace_packages=[\n        'google',\n        'google.cloud',\n    ],\n    packages=find_packages(exclude=('tests*',)),\n    install_requires=REQUIREMENTS,\n    **SETUP_BASE\n)\n", "path": "bigquery/setup.py"}], "after_files": [{"content": "# Copyright 2016 Google Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport os\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\n\nPACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:\n    README = file_obj.read()\n\n# NOTE: This is duplicated throughout and we should try to\n#       consolidate.\nSETUP_BASE = {\n    'author': 'Google Cloud Platform',\n    'author_email': 'googleapis-publisher@google.com',\n    'scripts': [],\n    'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',\n    'license': 'Apache 2.0',\n    'platforms': 'Posix; MacOS X; Windows',\n    'include_package_data': True,\n    'zip_safe': False,\n    'classifiers': [\n        'Development Status :: 5 - Production/Stable',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: Apache Software License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Topic :: Internet',\n    ],\n}\n\n\nREQUIREMENTS = [\n    'google-cloud-core >= 0.26.0, < 0.27dev',\n    'google-auth >= 1.0.0',\n    'google-resumable-media >= 0.2.3',\n    'requests >= 2.18.0',\n]\n\nsetup(\n    name='google-cloud-storage',\n    version='1.3.1',\n    description='Python Client for Google Cloud Storage',\n    long_description=README,\n    namespace_packages=[\n        'google',\n        'google.cloud',\n    ],\n    packages=find_packages(exclude=('tests*',)),\n    install_requires=REQUIREMENTS,\n    **SETUP_BASE\n)\n", "path": "storage/setup.py"}, {"content": "# Copyright 2016 Google Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport os\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\n\nPACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:\n    README = file_obj.read()\n\n# NOTE: This is duplicated throughout and we should try to\n#       consolidate.\nSETUP_BASE = {\n    'author': 'Google Cloud Platform',\n    'author_email': 'googleapis-publisher@google.com',\n    'scripts': [],\n    'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',\n    'license': 'Apache 2.0',\n    'platforms': 'Posix; MacOS X; Windows',\n    'include_package_data': True,\n    'zip_safe': False,\n    'classifiers': [\n        'Development Status :: 4 - Beta',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: Apache Software License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Topic :: Internet',\n    ],\n}\n\n\nREQUIREMENTS = [\n    'googleapis-common-protos >= 1.3.4',\n    'protobuf >= 3.0.0',\n    'google-auth >= 0.4.0, < 2.0.0dev',\n    'requests >= 2.18.0, < 3.0.0dev',\n    'setuptools >= 34.0.0',\n    'six',\n    'tenacity >= 4.0.0, <5.0.0dev'\n]\n\nsetup(\n    name='google-cloud-core',\n    version='0.26.0',\n    description='API Client library for Google Cloud: Core Helpers',\n    long_description=README,\n    namespace_packages=[\n        'google',\n        'google.cloud',\n        'google.api',\n    ],\n    packages=find_packages(exclude=('tests*',)),\n    install_requires=REQUIREMENTS,\n    **SETUP_BASE\n)\n", "path": "core/setup.py"}, {"content": "# Copyright 2016 Google Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport os\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\n\nPACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:\n    README = file_obj.read()\n\n# NOTE: This is duplicated throughout and we should try to\n#       consolidate.\nSETUP_BASE = {\n    'author': 'Google Cloud Platform',\n    'author_email': 'googleapis-publisher@google.com',\n    'scripts': [],\n    'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',\n    'license': 'Apache 2.0',\n    'platforms': 'Posix; MacOS X; Windows',\n    'include_package_data': True,\n    'zip_safe': False,\n    'classifiers': [\n        'Development Status :: 4 - Beta',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: Apache Software License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Topic :: Internet',\n    ],\n}\n\n\nREQUIREMENTS = [\n    'google-cloud-core >= 0.26.0, < 0.27dev',\n    'google-auth >= 1.0.0',\n    'google-resumable-media >= 0.2.1',\n    'requests >= 2.18.0',\n]\n\nsetup(\n    name='google-cloud-bigquery',\n    version='0.26.0',\n    description='Python Client for Google BigQuery',\n    long_description=README,\n    namespace_packages=[\n        'google',\n        'google.cloud',\n    ],\n    packages=find_packages(exclude=('tests*',)),\n    install_requires=REQUIREMENTS,\n    **SETUP_BASE\n)\n", "path": "bigquery/setup.py"}]}