Skip to content

Instantly share code, notes, and snippets.

@yegle

yegle/appengine_config.py

Last active Aug 29, 2015
Embed
What would you like to do?
Use VirtualEnv to manage dependencies on GAE project
import os
from google.appengine.ext import vendor
"""
1. Create a virtualenv directory at the root of your project, name it "venv"
2. Install packages needed in your project
3. Freeze it and save the package list into requirements.txt file, add it to
version control
4. Exclude "venv" directory from version control
5. Save the content of this file as "appengine_config.py", and put it at the
root of your project
"""
VENV = os.path.join(os.path.dirname(__file__), "venv")
vendor.add(VENV)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.