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 details)

Uploaded Source

File details

Details for the file gae-virtualenv-0.0.1.tar.gz.

File metadata

File hashes

Hashes for gae-virtualenv-0.0.1.tar.gz
Algorithm Hash digest
SHA256 df3b850f3e5be0fcce52d76d52d06c31c81d7a50c8ed39460de5839eafca9b1b
MD5 143fea8dfd765d3c369a4a07bc258a58
BLAKE2b-256 8b869aa5632b3d93f002a0b51fc1cb7fc993ddbdcae11d9d15dcf560ee0643ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page