Does Google App Engine's git Push-to-Deploy al

2019-08-05 04:18发布

问题:

I've got an appengine Python app which takes advantage of endpoints-proto-datastore. I did install endpoints-proto-datastore using:

git submodule add https://github.com/GoogleCloudPlatform/endpoints-proto-datastore

It does work when I deploy my app through PyCharm (using Google Appengine Python SDK). It does not work when I push to google's repository (Push-to-Deploy). When using Push-to-Deploy I get the following log message:

ImportError: No module named endpoints_proto_datastore.ndb

Do I have to download the endpoints_proto_datastore library and unzip it in the root directory to get Push-to-Deploy working? I wanted to be up-to-date, that's why I did use the git submodule.

回答1:

It looks like this does not work as stated here