Skip to content

Commit b5d33d6

Browse files
authored
fix: add static discovery docs (#1216)
Fixes #1214 The [MANIFEST.in](https://packaging.python.org/guides/using-manifest-in/) controls which files are included in the published package. You can verify that this fixes the problem (missing discovery docs leading to failing `discovery.build()` calls) by building the package and installing the library from the tarfile. - `python3 -m venv env` - `source env/bin/activate` - `python3 -m setup.py sdist` - `python3 -m pip install dist/google-api-python-client-2.0.0.tar.gz` ``` (env) busunkim@busunkim:~/github/google-api-python-client$ python3 Python 3.6.9 (default, Feb 24 2020, 21:10:07) [GCC 9.2.1 20190909] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import googleapiclient >>> from googleapiclient import discovery >>> client = discovery.build("cloudprofiler", "v2") >>> ```
1 parent b85da5b commit b5d33d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
recursive-include apiclient *.json *.py
2+
recursive-include googleapiclient *.json *.py
23
include CHANGELOG
34
include LICENSE
45
include README

0 commit comments

Comments
 (0)