This is a simple scaffold for packaging a Python app to run on Windows Azure.
- Edit
app.pyto do whatever you want, and add any required modules todependencies.txt. If this is a web app, be sure to listen on the port specified in thePORTenvironment variable (and for best results when running locally, listen on the IP address specified in theADDRESSenvironment variable. - Run
run.cmdto build and run the application locally. When running locally, python.exe must be in the path. (It is not automatically installed as it is in the cloud.) - Run
pack.cmdto outputPackAndRun.cspkg. That file, along withServiceConfiguration.cscfgis what you need to deploy via the Windows Azure portal (or with some other tool) to get the app running in the cloud.