LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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.