Open
Description
Environment details
- OS type and version: ANY
- Python version: ANY
- pip version: ANY (or N/A)
google-api-python-client
version: 1.8.1
Steps to reproduce
- Install 1.8.1
- Attempt to compile Python app that uses googleapiclient to an executable
Expected results
executable compiles and runs as it did with 1.8.0 library
Actual results
executable compiles but fails at runtime with:
pkg_resources.DistributionNotFound: The 'google-api-python-client' distribution was not found and is required by the application
this is due to removing googleapiclient.version and replacing with:
https://github.com/googleapis/google-api-python-client/blob/master/googleapiclient/model.py#L36
these issues will also occur if the library was not installed via pip (e.g. just cloned into a sub directory of the script).