LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Namespaces | Variables
state.py File Reference

This module acts like a singleton, holding all global state for sconsUtils. More...

Go to the source code of this file.

Namespaces

 lsst.sconsUtils.state
 

Variables

dictionary lsst.sconsUtils.state.targets = {"doc": [], "tests": [], "lib": [], "python": [], "examples": [], "include": [], "version": []}
 A dictionary of SCons aliases and targets. More...
 

Detailed Description

This module acts like a singleton, holding all global state for sconsUtils.

This includes the primary Environment object (state.env), the message log (state.log), the command-line variables object (state.opts), and a dictionary of command-line targets used to setup aliases, default targets, and dependencies (state.targets). All four of these variables are aliased to the main lsst.sconsUtils scope, so there should be no need for users to deal with the state module directly.

These are all initialized when the module is imported, but may be modified by other code (particularly dependencies.configure()).

Definition in file state.py.