Create a libs / directory and
pip install -t libs library name
Install the library under libs as follows.
pip install -t, --target <dir>
Install packages into <dir>. By default this will not replace existing files/folders in <dir>. Use –upgrade to replace existing packages in <dir=> with new versions.
You can use the library on GAE by adding the main page and below and adding the path to libs to your application.
import sys
sys.path.insert(0, 'libs')
Sample of using Flask on GAE: cocodrips / GAE-flask-application
Recommended Posts