Skip to main content

Using virtualenv with zipimport on Google App Engine

Project description

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/.*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gae-virtualenv-0.0.1.tar.gz (1.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page