Package SCons :: Package Script :: Module SConscript'
[hide private]
[frames] | no frames]

Module SConscript'

source code

SCons.Script.SConscript

This module defines the Python API provided to SConscript and SConstruct files.

Classes [hide private]
  SConscriptReturn
  Frame
A frame on the SConstruct/SConscript call stack
  SConsEnvironment
An Environment subclass that contains all of the methods that are particular to the wrapper SCons interface and which aren't (or shouldn't be) part of the build engine itself.
  DefaultEnvironmentCall
A class that implements "global function" calls of Environment methods by fetching the specified method from the DefaultEnvironment's class. Note that this uses an intermediate proxy class instead of calling the DefaultEnvironment method directly so that the proxy can override the subst() method and thereby prevent expansion of construction variables (since from the user's point of view this was called as a global function, with no associated construction environment).
Functions [hide private]
 
get_calling_namespaces()
Return the locals and globals for the function that called into this module in the current call stack.
source code
 
compute_exports(exports)
Compute a dictionary of exports given one of the parameters to the Export() function or the exports argument to SConscript().
source code
 
Return(*vars, **kw) source code
 
_SConscript(fs, *files, **kw) source code
 
SConscript_exception(file=sys.stderr)
Print an exception stack trace just for the SConscript file(s). This will show users who have Python errors where the problem is, without cluttering the output with all of the internal calls leading up to where we exec the SConscript.
source code
 
annotate(node)
Annotate a node with the stack frame describing the SConscript file and line number that created it.
source code
 
Configure(*args, **kw) source code
 
get_DefaultEnvironmentProxy() source code
 
BuildDefaultGlobals()
Create a dictionary containing all the default globals for SConstruct and SConscript files.
source code
Variables [hide private]
  __revision__ = 'src/engine/SCons/Script/SConscript.py rel_2.4....
  launch_dir = '/scons/as_scons'
  GlobalDict = None
hash(x)
  global_exports = {}
  sconscript_chdir = 1
  call_stack = []
  stack_bottom = '% Stack boTTom %'
  _DefaultEnvironmentProxy = None
hash(x)
  __package__ = 'SCons.Script'
Variables Details [hide private]

__revision__

Value:
'src/engine/SCons/Script/SConscript.py rel_2.4.1:3453:73fefd3ea0b0 201\
5/11/09 03:25:05 bdbaddog'