prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Published package is missing discovery files in discovery_cache
  Many thanks to the @wyk9787 for noticing this and reaching out.
  
  All calls to `discovery.build()` using `2.0.0` fail with "unknown api name or version".
  
  ```python
  from googleapiclient import discovery
  
  client = discovery.build("cloudprofiler", "v2")
  ```
  
  
  This is because the published package has no `discovery_cache/documents` directory. 
  
  1. `python3 -m venv env`
  2. `source env/bin/activate`
  3. `python3 -m pip install google-api-python-client`
  4. `ls env/lib/python*/site-packages/googleapiclient/discovery_cache`
  
  ```
  busunkim@busunkim:~/github$ ls env/lib/python*/site-packages/googleapiclient/discovery_cache
  appengine_memcache.py  base.py  file_cache.py  __init__.py  __pycache__
  ```
  
  
  
  --- 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 # Copyright 2014 Google Inc. All Rights Reserved.
  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 """Setup script for Google API Python client.
  16 
  17 Also installs included versions of third party libraries, if those libraries
  18 are not already installed.
  19 """
  20 from __future__ import print_function
  21 
  22 import sys
  23 
  24 if sys.version_info < (3, 6):
  25     print("google-api-python-client requires python3 version >= 3.6.", file=sys.stderr)
  26     sys.exit(1)
  27 
  28 import io
  29 import os
  30 from setuptools import setup
  31 
  32 packages = ["apiclient", "googleapiclient", "googleapiclient/discovery_cache"]
  33 
  34 install_requires = [
  35     "httplib2>=0.15.0,<1dev",
  36     "google-auth>=1.16.0,<2dev",
  37     "google-auth-httplib2>=0.0.3",
  38     "google-api-core>=1.21.0,<2dev",
  39     "six>=1.13.0,<2dev",
  40     "uritemplate>=3.0.0,<4dev",
  41 ]
  42 
  43 package_root = os.path.abspath(os.path.dirname(__file__))
  44 
  45 readme_filename = os.path.join(package_root, "README.md")
  46 with io.open(readme_filename, encoding="utf-8") as readme_file:
  47     readme = readme_file.read()
  48 
  49 version = "2.0.1"
  50 
  51 setup(
  52     name="google-api-python-client",
  53     version=version,
  54     description="Google API Client Library for Python",
  55     long_description=readme,
  56     long_description_content_type='text/markdown',
  57     author="Google LLC",
  58     author_email="googleapis-packages@google.com",
  59     url="https://github.com/googleapis/google-api-python-client/",
  60     install_requires=install_requires,
  61     python_requires=">=3.6",
  62     packages=packages,
  63     package_data={},
  64     license="Apache 2.0",
  65     keywords="google api client",
  66     classifiers=[
  67         "Programming Language :: Python :: 3",
  68         "Programming Language :: Python :: 3.6",
  69         "Programming Language :: Python :: 3.7",
  70         "Programming Language :: Python :: 3.8",
  71         "Programming Language :: Python :: 3.9",
  72         "Development Status :: 5 - Production/Stable",
  73         "Intended Audience :: Developers",
  74         "License :: OSI Approved :: Apache Software License",
  75         "Operating System :: OS Independent",
  76         "Topic :: Internet :: WWW/HTTP",
  77     ],
  78 )
  79
  ```
  --- 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
  @@ -60,7 +60,7 @@
       install_requires=install_requires,
       python_requires=">=3.6",
       packages=packages,
  -    package_data={},
  +    package_data={"googleapiclient": ["discovery_cache/documents/*.json"]},
       license="Apache 2.0",
       keywords="google api client",
       classifiers=[
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -60,7 +60,7 @@\n     install_requires=install_requires,\n     python_requires=\">=3.6\",\n     packages=packages,\n-    package_data={},\n+    package_data={\"googleapiclient\": [\"discovery_cache/documents/*.json\"]},\n     license=\"Apache 2.0\",\n     keywords=\"google api client\",\n     classifiers=[\n", "issue": "Published package is missing discovery files in discovery_cache\nMany thanks to the @wyk9787 for noticing this and reaching out.\r\n\r\nAll calls to `discovery.build()` using `2.0.0` fail with \"unknown api name or version\".\r\n\r\n```python\r\nfrom googleapiclient import discovery\r\n\r\nclient = discovery.build(\"cloudprofiler\", \"v2\")\r\n```\r\n\r\n\r\nThis is because the published package has no `discovery_cache/documents` directory. \r\n\r\n1. `python3 -m venv env`\r\n2. `source env/bin/activate`\r\n3. `python3 -m pip install google-api-python-client`\r\n4. `ls env/lib/python*/site-packages/googleapiclient/discovery_cache`\r\n\r\n```\r\nbusunkim@busunkim:~/github$ ls env/lib/python*/site-packages/googleapiclient/discovery_cache\r\nappengine_memcache.py  base.py  file_cache.py  __init__.py  __pycache__\r\n```\r\n\r\n\n", "before_files": [{"content": "# Copyright 2014 Google Inc. All Rights Reserved.\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\n\"\"\"Setup script for Google API Python client.\n\nAlso installs included versions of third party libraries, if those libraries\nare not already installed.\n\"\"\"\nfrom __future__ import print_function\n\nimport sys\n\nif sys.version_info < (3, 6):\n    print(\"google-api-python-client requires python3 version >= 3.6.\", file=sys.stderr)\n    sys.exit(1)\n\nimport io\nimport os\nfrom setuptools import setup\n\npackages = [\"apiclient\", \"googleapiclient\", \"googleapiclient/discovery_cache\"]\n\ninstall_requires = [\n    \"httplib2>=0.15.0,<1dev\",\n    \"google-auth>=1.16.0,<2dev\",\n    \"google-auth-httplib2>=0.0.3\",\n    \"google-api-core>=1.21.0,<2dev\",\n    \"six>=1.13.0,<2dev\",\n    \"uritemplate>=3.0.0,<4dev\",\n]\n\npackage_root = os.path.abspath(os.path.dirname(__file__))\n\nreadme_filename = os.path.join(package_root, \"README.md\")\nwith io.open(readme_filename, encoding=\"utf-8\") as readme_file:\n    readme = readme_file.read()\n\nversion = \"2.0.1\"\n\nsetup(\n    name=\"google-api-python-client\",\n    version=version,\n    description=\"Google API Client Library for Python\",\n    long_description=readme,\n    long_description_content_type='text/markdown',\n    author=\"Google LLC\",\n    author_email=\"googleapis-packages@google.com\",\n    url=\"https://github.com/googleapis/google-api-python-client/\",\n    install_requires=install_requires,\n    python_requires=\">=3.6\",\n    packages=packages,\n    package_data={},\n    license=\"Apache 2.0\",\n    keywords=\"google api client\",\n    classifiers=[\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: 3.9\",\n        \"Development Status :: 5 - Production/Stable\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Operating System :: OS Independent\",\n        \"Topic :: Internet :: WWW/HTTP\",\n    ],\n)\n", "path": "setup.py"}], "after_files": [{"content": "# Copyright 2014 Google Inc. All Rights Reserved.\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\n\"\"\"Setup script for Google API Python client.\n\nAlso installs included versions of third party libraries, if those libraries\nare not already installed.\n\"\"\"\nfrom __future__ import print_function\n\nimport sys\n\nif sys.version_info < (3, 6):\n    print(\"google-api-python-client requires python3 version >= 3.6.\", file=sys.stderr)\n    sys.exit(1)\n\nimport io\nimport os\nfrom setuptools import setup\n\npackages = [\"apiclient\", \"googleapiclient\", \"googleapiclient/discovery_cache\"]\n\ninstall_requires = [\n    \"httplib2>=0.15.0,<1dev\",\n    \"google-auth>=1.16.0,<2dev\",\n    \"google-auth-httplib2>=0.0.3\",\n    \"google-api-core>=1.21.0,<2dev\",\n    \"six>=1.13.0,<2dev\",\n    \"uritemplate>=3.0.0,<4dev\",\n]\n\npackage_root = os.path.abspath(os.path.dirname(__file__))\n\nreadme_filename = os.path.join(package_root, \"README.md\")\nwith io.open(readme_filename, encoding=\"utf-8\") as readme_file:\n    readme = readme_file.read()\n\nversion = \"2.0.1\"\n\nsetup(\n    name=\"google-api-python-client\",\n    version=version,\n    description=\"Google API Client Library for Python\",\n    long_description=readme,\n    long_description_content_type='text/markdown',\n    author=\"Google LLC\",\n    author_email=\"googleapis-packages@google.com\",\n    url=\"https://github.com/googleapis/google-api-python-client/\",\n    install_requires=install_requires,\n    python_requires=\">=3.6\",\n    packages=packages,\n    package_data={\"googleapiclient\": [\"discovery_cache/documents/*.json\"]},\n    license=\"Apache 2.0\",\n    keywords=\"google api client\",\n    classifiers=[\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: 3.9\",\n        \"Development Status :: 5 - Production/Stable\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Operating System :: OS Independent\",\n        \"Topic :: Internet :: WWW/HTTP\",\n    ],\n)\n", "path": "setup.py"}]}