prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Read the Docs build failing
  https://readthedocs.org/projects/gcloud-python/builds/4108022/
  https://readthedocs.org/projects/gcloud-python/builds/4108027/
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 import os
  2 import sys
  3 
  4 from setuptools import setup
  5 from setuptools import find_packages
  6 
  7 here = os.path.abspath(os.path.dirname(__file__))
  8 
  9 
  10 with open(os.path.join(here, 'README.rst')) as f:
  11     README = f.read()
  12 
  13 
  14 REQUIREMENTS = [
  15     'httplib2 >= 0.9.1',
  16     'googleapis-common-protos',
  17     'oauth2client >= 2.0.1',
  18     'protobuf >= 3.0.0b2, != 3.0.0.b2.post1',
  19     'six',
  20 ]
  21 
  22 GRPC_EXTRAS = [
  23     'grpcio >= 0.14.0',
  24     'google-gax >= 0.12.0',
  25     'gax-google-pubsub-v1',
  26 ]
  27 
  28 if sys.version_info[:2] == (2, 7):
  29     REQUIREMENTS.extend(GRPC_EXTRAS)
  30 
  31 setup(
  32     name='gcloud',
  33     version='0.15.0',
  34     description='API Client library for Google Cloud',
  35     author='Google Cloud Platform',
  36     author_email='jjg+gcloud-python@google.com',
  37     long_description=README,
  38     scripts=[],
  39     url='https://github.com/GoogleCloudPlatform/gcloud-python',
  40     packages=find_packages(),
  41     license='Apache 2.0',
  42     platforms='Posix; MacOS X; Windows',
  43     include_package_data=True,
  44     zip_safe=False,
  45     install_requires=REQUIREMENTS,
  46     extras_require={'grpc': GRPC_EXTRAS},
  47     classifiers=[
  48         'Development Status :: 4 - Beta',
  49         'Intended Audience :: Developers',
  50         'License :: OSI Approved :: Apache Software License',
  51         'Operating System :: OS Independent',
  52         'Programming Language :: Python :: 2',
  53         'Programming Language :: Python :: 2.6',
  54         'Programming Language :: Python :: 2.7',
  55         'Programming Language :: Python :: 3',
  56         'Programming Language :: Python :: 3.4',
  57         'Programming Language :: Python :: 3.5',
  58         'Topic :: Internet',
  59     ]
  60 )
  61
  ```
  --- 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()
  
  ```
  
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -25,7 +25,7 @@
       'gax-google-pubsub-v1',
   ]
   
  -if sys.version_info[:2] == (2, 7):
  +if sys.version_info[:2] == (2, 7) and 'READTHEDOCS' not in os.environ:
       REQUIREMENTS.extend(GRPC_EXTRAS)
   
   setup(
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -25,7 +25,7 @@\n     'gax-google-pubsub-v1',\n ]\n \n-if sys.version_info[:2] == (2, 7):\n+if sys.version_info[:2] == (2, 7) and 'READTHEDOCS' not in os.environ:\n     REQUIREMENTS.extend(GRPC_EXTRAS)\n \n setup(\n", "issue": "Read the Docs build failing\nhttps://readthedocs.org/projects/gcloud-python/builds/4108022/\nhttps://readthedocs.org/projects/gcloud-python/builds/4108027/\n\n", "before_files": [{"content": "import os\nimport sys\n\nfrom setuptools import setup\nfrom setuptools import find_packages\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n\nwith open(os.path.join(here, 'README.rst')) as f:\n    README = f.read()\n\n\nREQUIREMENTS = [\n    'httplib2 >= 0.9.1',\n    'googleapis-common-protos',\n    'oauth2client >= 2.0.1',\n    'protobuf >= 3.0.0b2, != 3.0.0.b2.post1',\n    'six',\n]\n\nGRPC_EXTRAS = [\n    'grpcio >= 0.14.0',\n    'google-gax >= 0.12.0',\n    'gax-google-pubsub-v1',\n]\n\nif sys.version_info[:2] == (2, 7):\n    REQUIREMENTS.extend(GRPC_EXTRAS)\n\nsetup(\n    name='gcloud',\n    version='0.15.0',\n    description='API Client library for Google Cloud',\n    author='Google Cloud Platform',\n    author_email='jjg+gcloud-python@google.com',\n    long_description=README,\n    scripts=[],\n    url='https://github.com/GoogleCloudPlatform/gcloud-python',\n    packages=find_packages(),\n    license='Apache 2.0',\n    platforms='Posix; MacOS X; Windows',\n    include_package_data=True,\n    zip_safe=False,\n    install_requires=REQUIREMENTS,\n    extras_require={'grpc': GRPC_EXTRAS},\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.6',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Topic :: Internet',\n    ]\n)\n", "path": "setup.py"}], "after_files": [{"content": "import os\nimport sys\n\nfrom setuptools import setup\nfrom setuptools import find_packages\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n\nwith open(os.path.join(here, 'README.rst')) as f:\n    README = f.read()\n\n\nREQUIREMENTS = [\n    'httplib2 >= 0.9.1',\n    'googleapis-common-protos',\n    'oauth2client >= 2.0.1',\n    'protobuf >= 3.0.0b2, != 3.0.0.b2.post1',\n    'six',\n]\n\nGRPC_EXTRAS = [\n    'grpcio >= 0.14.0',\n    'google-gax >= 0.11.0',\n    'gax-google-pubsub-v1',\n]\n\nif sys.version_info[:2] == (2, 7) and 'READTHEDOCS' not in os.environ:\n    REQUIREMENTS.extend(GRPC_EXTRAS)\n\nsetup(\n    name='gcloud',\n    version='0.15.0',\n    description='API Client library for Google Cloud',\n    author='Google Cloud Platform',\n    author_email='jjg+gcloud-python@google.com',\n    long_description=README,\n    scripts=[],\n    url='https://github.com/GoogleCloudPlatform/gcloud-python',\n    packages=find_packages(),\n    license='Apache 2.0',\n    platforms='Posix; MacOS X; Windows',\n    include_package_data=True,\n    zip_safe=False,\n    install_requires=REQUIREMENTS,\n    extras_require={'grpc': GRPC_EXTRAS},\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.6',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Topic :: Internet',\n    ]\n)\n", "path": "setup.py"}]}