Aspen incorporates the mode module, which uses the PYTHONMODE
environment variable to model the application life-cycle through four deployment
modes: debugging, development, staging, and
production. This module is available to your applications at
aspen.mode, and its API is documented in the "API" chapter, below.
Aspen itself adapts to the current PYTHONMODE. In debugging and development modes, Aspen will restart itself any time the following configuration files or any module source files change on the filesystem:
See Also:
mode