Lets download SDK to /tmp. I assume that Virtualenv is already installed.
- Unpack
unzip /tmp/google_appengine_<VERSION>.zip -d /usr/local
- Create Virtualenv
virtualenv ~/demo
- Add path
printf '/usr/local/google_appengine \nimport dev_appserver; dev_appserver.fix_sys_path()' > ~/demo/lib/python2.7/site-packages/gae.pth
- Activate Virtualenv
. ~/demo/bin/activate
- Validate
python -c "import yaml;print yaml.__path__"
- This should print this
['/usr/local/google_appengine/lib/yaml-<VERSION>/yaml']