openshift/origin-server — pull request #4823 by VojtechVitek (2014-02-26 00:10:01+00:00)
Title: Python - DocumentRoot logic, Repository Layout simplification

https://trello.com/c/XdJdVHU9 - origin_cartridge_card_138

- new Repository Layout:

wsgi.py WSGI entry-point
setup.py Standard setup.py
.openshift/ OpenShift specific files
action_hooks/ Action Hooks
markers/ Marker files
.gitignore Ignore compiled files

- backward compatible control script logic to select DocumentRoot
- move mod_wsgi autoloading into separate wsgi.conf config files
- add $OPENSHIFT_PYTHON_WSGI_APPLICATION ENV VAR to set
alternative WSGI entry-point
- various cleanup in control scripts

[test] [extended:cartridge]