This git repository is a community supported cartridge to help you get started with using Python 2.7.3 on Red Hat's OpenShift PaaS.
Create an account at http://openshift.redhat.com/
Create a namespace, if you haven't already do so
rhc domain create -n <yournamespace>
Create a python-2.7 application (you can name it anything via -a)
rhc app create pecanpie python-2.7
The default template application is optimized for app creation times/speed and so will run a simple WSGI HTTP server on app creation. For more details, see: http://docs.python.org/2/library/wsgiref.html#module-wsgiref.simple_server
And on a first git push (without any code/setup modifications), the app template's setup.py will install greenlet and gevent and run the app with a fast WSGI server based on libevent-http (from gevent). For more details, see: http://www.gevent.org/
When you ssh into your app/gear, you will need to source in a script to setup the library paths and activate the virtualenv python 2.7 is installed under.
ssh $guid@$app-$ns.rhcloud.com
rhcsh> source python-2.7/activate_virtenv
.
.
... And last but not least, enjoy your flight ... http://xkcd.com/353/