We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
General: v0.33.0 pip install fails
In a fresh Python v2.7.12 virtualenv on linux:
```
pip install google-cloud
```

Results in:
```
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-3_n60m/google-cloud/setup.py", line 22, in <module>
        with open(os.path.join(PACKAGE_ROOT, 'setup-README.rst')) as file_obj:
    IOError: [Errno 2] No such file or directory: '/tmp/pip-install-3_n60m/google-cloud/setup-README.rst'
```

Note:
```
pip install google-cloud==0.32.0
```
works fine.

I believe it has to do with recent changes: https://github.com/GoogleCloudPlatform/google-cloud-python/commit/71e5d4bf94745580834b86c3e92ac4186c3115c0

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `legacy/google-cloud/setup.py`
Content:
```
1 # Copyright 2016 Google LLC
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 import logging
17 
18 from setuptools import setup
19 
20 PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
21 
22 with open(os.path.join(PACKAGE_ROOT, 'setup-README.rst')) as file_obj:
23     README = file_obj.read()
24 
25 # NOTE: This is duplicated throughout and we should try to
26 #       consolidate.
27 SETUP_BASE = {
28     'author': 'Google Cloud Platform',
29     'author_email': 'googleapis-publisher@google.com',
30     'scripts': [],
31     'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',
32     'license': 'Apache 2.0',
33     'platforms': 'Posix; MacOS X; Windows',
34     'include_package_data': True,
35     'zip_safe': False,
36     'classifiers': [
37         'Development Status :: 7 - Inactive',
38         'Intended Audience :: Developers',
39         'License :: OSI Approved :: Apache Software License',
40         'Operating System :: OS Independent',
41         'Programming Language :: Python :: 2',
42         'Programming Language :: Python :: 2.7',
43         'Programming Language :: Python :: 3',
44         'Programming Language :: Python :: 3.4',
45         'Programming Language :: Python :: 3.5',
46         'Programming Language :: Python :: 3.6',
47         'Topic :: Internet',
48     ],
49 }
50 
51 REQUIREMENTS = [
52     'google-api-core >= 0.1.2, < 0.2.0dev',
53     'google-cloud-bigquery >= 0.28.0, < 0.29dev',
54     'google-cloud-bigquery-datatransfer >= 0.1.0, < 0.2dev',
55     'google-cloud-bigtable >= 0.28.1, < 0.29dev',
56     'google-cloud-container >= 0.1.0, < 0.2dev',
57     'google-cloud-core >= 0.28.0, < 0.29dev',
58     'google-cloud-datastore >= 1.4.0, < 1.5dev',
59     'google-cloud-dns >= 0.28.0, < 0.29dev',
60     'google-cloud-error-reporting >= 0.28.0, < 0.29dev',
61     'google-cloud-firestore >= 0.28.0, < 0.29dev',
62     'google-cloud-language >= 1.0.0, < 1.1dev',
63     'google-cloud-logging >= 1.4.0, < 1.5dev',
64     'google-cloud-monitoring >= 0.28.0, < 0.29dev',
65     'google-cloud-pubsub >= 0.30.0, < 0.31dev',
66     'google-cloud-resource-manager >= 0.28.0, < 0.29dev',
67     'google-cloud-runtimeconfig >= 0.28.0, < 0.29dev',
68     'google-cloud-spanner >= 0.29.0, < 0.30dev',
69     'google-cloud-speech >= 0.30.0, < 0.31dev',
70     'google-cloud-storage >= 1.6.0, < 1.7dev',
71     'google-cloud-trace >= 0.17.0, < 0.18dev',
72     'google-cloud-translate >= 1.3.0, < 1.4dev',
73     'google-cloud-videointelligence >= 1.0.0, < 1.1dev',
74     'google-cloud-vision >= 0.29.0, < 0.30dev',
75 ]
76 
77 setup(
78     name='google-cloud',
79     version='0.33.0',
80     description='API Client library for Google Cloud',
81     long_description=README,
82     install_requires=REQUIREMENTS,
83     **SETUP_BASE
84 )
85 
86 warning = "WARNING: The google-cloud Python package is deprecated. On " \
87           "June 18, 2018, this package will no longer install any other " \
88           "packages. Please install the product-specific google-cloud-* " \
89           "packages needed for your application. See " \
90           "https://github.com/GoogleCloudPlatform/google-cloud-python."
91 
92 logging.warn(warning)
93
```
--- 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/legacy/google-cloud/setup.py b/legacy/google-cloud/setup.py
--- a/legacy/google-cloud/setup.py
+++ b/legacy/google-cloud/setup.py
@@ -76,7 +76,7 @@
 
 setup(
     name='google-cloud',
-    version='0.33.0',
+    version='0.33.1',
     description='API Client library for Google Cloud',
     long_description=README,
     install_requires=REQUIREMENTS,

{"golden_diff": "diff --git a/legacy/google-cloud/setup.py b/legacy/google-cloud/setup.py\n--- a/legacy/google-cloud/setup.py\n+++ b/legacy/google-cloud/setup.py\n@@ -76,7 +76,7 @@\n \n setup(\n     name='google-cloud',\n-    version='0.33.0',\n+    version='0.33.1',\n     description='API Client library for Google Cloud',\n     long_description=README,\n     install_requires=REQUIREMENTS,\n", "issue": "General: v0.33.0 pip install fails\nIn a fresh Python v2.7.12 virtualenv on linux:\r\n```\r\npip install google-cloud\r\n```\r\n\r\nResults in:\r\n```\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 1, in <module>\r\n      File \"/tmp/pip-install-3_n60m/google-cloud/setup.py\", line 22, in <module>\r\n        with open(os.path.join(PACKAGE_ROOT, 'setup-README.rst')) as file_obj:\r\n    IOError: [Errno 2] No such file or directory: '/tmp/pip-install-3_n60m/google-cloud/setup-README.rst'\r\n```\r\n\r\nNote:\r\n```\r\npip install google-cloud==0.32.0\r\n```\r\nworks fine.\r\n\r\nI believe it has to do with recent changes: https://github.com/GoogleCloudPlatform/google-cloud-python/commit/71e5d4bf94745580834b86c3e92ac4186c3115c0\n", "before_files": [{"content": "# Copyright 2016 Google LLC\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\nimport logging\n\nfrom setuptools import setup\n\nPACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(PACKAGE_ROOT, 'setup-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 :: 7 - Inactive',\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\nREQUIREMENTS = [\n    'google-api-core >= 0.1.2, < 0.2.0dev',\n    'google-cloud-bigquery >= 0.28.0, < 0.29dev',\n    'google-cloud-bigquery-datatransfer >= 0.1.0, < 0.2dev',\n    'google-cloud-bigtable >= 0.28.1, < 0.29dev',\n    'google-cloud-container >= 0.1.0, < 0.2dev',\n    'google-cloud-core >= 0.28.0, < 0.29dev',\n    'google-cloud-datastore >= 1.4.0, < 1.5dev',\n    'google-cloud-dns >= 0.28.0, < 0.29dev',\n    'google-cloud-error-reporting >= 0.28.0, < 0.29dev',\n    'google-cloud-firestore >= 0.28.0, < 0.29dev',\n    'google-cloud-language >= 1.0.0, < 1.1dev',\n    'google-cloud-logging >= 1.4.0, < 1.5dev',\n    'google-cloud-monitoring >= 0.28.0, < 0.29dev',\n    'google-cloud-pubsub >= 0.30.0, < 0.31dev',\n    'google-cloud-resource-manager >= 0.28.0, < 0.29dev',\n    'google-cloud-runtimeconfig >= 0.28.0, < 0.29dev',\n    'google-cloud-spanner >= 0.29.0, < 0.30dev',\n    'google-cloud-speech >= 0.30.0, < 0.31dev',\n    'google-cloud-storage >= 1.6.0, < 1.7dev',\n    'google-cloud-trace >= 0.17.0, < 0.18dev',\n    'google-cloud-translate >= 1.3.0, < 1.4dev',\n    'google-cloud-videointelligence >= 1.0.0, < 1.1dev',\n    'google-cloud-vision >= 0.29.0, < 0.30dev',\n]\n\nsetup(\n    name='google-cloud',\n    version='0.33.0',\n    description='API Client library for Google Cloud',\n    long_description=README,\n    install_requires=REQUIREMENTS,\n    **SETUP_BASE\n)\n\nwarning = \"WARNING: The google-cloud Python package is deprecated. On \" \\\n          \"June 18, 2018, this package will no longer install any other \" \\\n          \"packages. Please install the product-specific google-cloud-* \" \\\n          \"packages needed for your application. See \" \\\n          \"https://github.com/GoogleCloudPlatform/google-cloud-python.\"\n\nlogging.warn(warning)\n", "path": "legacy/google-cloud/setup.py"}], "after_files": [{"content": "# Copyright 2016 Google LLC\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\nimport logging\n\nfrom setuptools import setup\n\nPACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(PACKAGE_ROOT, 'setup-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 :: 7 - Inactive',\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\nREQUIREMENTS = [\n    'google-api-core >= 0.1.2, < 0.2.0dev',\n    'google-cloud-bigquery >= 0.28.0, < 0.29dev',\n    'google-cloud-bigquery-datatransfer >= 0.1.0, < 0.2dev',\n    'google-cloud-bigtable >= 0.28.1, < 0.29dev',\n    'google-cloud-container >= 0.1.0, < 0.2dev',\n    'google-cloud-core >= 0.28.0, < 0.29dev',\n    'google-cloud-datastore >= 1.4.0, < 1.5dev',\n    'google-cloud-dns >= 0.28.0, < 0.29dev',\n    'google-cloud-error-reporting >= 0.28.0, < 0.29dev',\n    'google-cloud-firestore >= 0.28.0, < 0.29dev',\n    'google-cloud-language >= 1.0.0, < 1.1dev',\n    'google-cloud-logging >= 1.4.0, < 1.5dev',\n    'google-cloud-monitoring >= 0.28.0, < 0.29dev',\n    'google-cloud-pubsub >= 0.30.0, < 0.31dev',\n    'google-cloud-resource-manager >= 0.28.0, < 0.29dev',\n    'google-cloud-runtimeconfig >= 0.28.0, < 0.29dev',\n    'google-cloud-spanner >= 0.29.0, < 0.30dev',\n    'google-cloud-speech >= 0.30.0, < 0.31dev',\n    'google-cloud-storage >= 1.6.0, < 1.7dev',\n    'google-cloud-trace >= 0.17.0, < 0.18dev',\n    'google-cloud-translate >= 1.3.0, < 1.4dev',\n    'google-cloud-videointelligence >= 1.0.0, < 1.1dev',\n    'google-cloud-vision >= 0.29.0, < 0.30dev',\n]\n\nsetup(\n    name='google-cloud',\n    version='0.33.1',\n    description='API Client library for Google Cloud',\n    long_description=README,\n    install_requires=REQUIREMENTS,\n    **SETUP_BASE\n)\n\nwarning = \"WARNING: The google-cloud Python package is deprecated. On \" \\\n          \"June 18, 2018, this package will no longer install any other \" \\\n          \"packages. Please install the product-specific google-cloud-* \" \\\n          \"packages needed for your application. See \" \\\n          \"https://github.com/GoogleCloudPlatform/google-cloud-python.\"\n\nlogging.warn(warning)\n", "path": "legacy/google-cloud/setup.py"}]}