I'm trying to figure out how to add a internal package to a Google App Engine deployment with Python 3 (standard).
For Python 2 the way to package modules was using a local lib/
folder and appengine_config.py
. This seems not to work anymore for Python 3? At least my app cannot find modules which are in the lib/
folder.
For Python 3 it's possible to just pip3 install -t .
the package. But this gets really messy as all packages are just installed in the app root and will also be added to the git repository of our app.
We cannot use requirements.txt
as the module is internal and will not be available on PyPI.
Is there another way to package modules for Google App Engine using Python 3?