Python

Adds support for deployment of python applications that use a virtual environment.

When a requirements.txt file is located in the root of the repository, it is detected as a Python application.

A virtual environment is automatically created, and the packages specified in requirements.txt are installed in that env.

The python interpreter selection is determined via:
1. If a runtime.txt is detected, version is read from it.  Valid values are 'python-2.7' and 'python-3.4', with a micro version (third digit) ignored if specified.
2. If no runtime.txt, then the python that's specified in the CONFIGURE page is used (this controls the python that's in the PATH).  The default is python-2.7.

If it's a django application, then collectstatic is run on the server.

You can skip all the python specific steps by creating a .skipPythonDeployment file.

You can skip the django collectstatic with a .skipDjango file