1. imbolc
  2. gae-virtualenv

Source

gae-virtualenv /

Filename Size Date modified Message
build
65 B
514 B
1.9 KB

gae-virtualenv

Using virtualenv with zipimport on Google App Engine.

Installation

Copy build dir to you gae application root directory.

Usage

1. Edit build/pipreq.txt and run:

$ cd build
$ ./buildenv.sh
$ python ziping.py

2. Modify the load path at the top of each handler script:

import sys
sys.path.insert(0, 'virtualenv.zip')

3. Add build directory to skip_files in app.yaml

skip_files:
    - ^(.*/)?build/.*