Skip to content
Permalink
Browse files
fix: Include discovery artifacts in published package (#1221)
Fixes #1214  馃

I was able to re-create the issue by using the following steps.
1) Create a clean `pyenv` environment
2) Download google-api-python-client-2.0.1 from PyPi [here](https://files.pythonhosted.org/packages/dc/67/a228c05a28288fdfde6e8c1a27a62e10ee265664c0f1d59070e6e0dc6242/google-api-python-client-2.0.1.tar.gz) and unzip it
3) Install it using `pip install <Unzipped Directory>`
4) Confirm `discovery.build()` fails on any call

To Verify the fix, repeat the steps above, but apply the update in this PR prior to installing the library.
  • Loading branch information
parthea committed Mar 4, 2021
1 parent 401c05e commit ad618d0b266b86a795871d946367552905f4ccb6
Showing with 1 addition and 1 deletion.
  1. +1 鈭1 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=[

0 comments on commit ad618d0

Please sign in to comment.