Package SCons :: Module Environment
[hide private]
[frames] | no frames]

Module Environment

source code

SCons.Environment

Base class for construction Environments.  These are
the primary objects used to communicate dependency and
construction information to the build engine.

Keyword arguments supplied when the construction Environment
is created are construction variables used to initialize the
Environment



Classes [hide private]
  _Null
  _null
  MethodWrapper
A generic Wrapper class that associates a method (which can actually be any callable) with an object.
  BuilderWrapper
A MethodWrapper subclass that that associates an environment with a Builder.
  BuilderDict
This is a dictionary-like class used by an Environment to hold the Builders.
  SubstitutionEnvironment
Base class for different flavors of construction environments.
  Base
Base class for "real" construction Environments.
  OverrideEnvironment
A proxy that overrides variables in a wrapped construction environment by returning values from an overrides dictionary in preference to values from the underlying subject environment.
  Environment
Base class for "real" construction Environments.
Functions [hide private]
 
alias_builder(env, target, source) source code
 
apply_tools(env, tools, toolpath) source code
 
copy_non_reserved_keywords(dict) source code
 
_set_reserved(env, key, value) source code
 
_set_future_reserved(env, key, value) source code
 
_set_BUILDERS(env, key, value) source code
 
_del_SCANNERS(env, key) source code
 
_set_SCANNERS(env, key, value) source code
 
_delete_duplicates(l, keep_last)
Delete duplicates from a sequence, keeping the first or last.
source code
 
is_valid_construction_var(varstr)
Return if the specified string is a legitimate construction variable.
source code
 
default_decide_source(dependency, target, prev_ni) source code
 
default_decide_target(dependency, target, prev_ni) source code
 
default_copy_from_cache(src, dst) source code
 
NoSubstitutionProxy(subject) source code
Variables [hide private]
  __revision__ = 'src/engine/SCons/Environment.py 5023 2010/06/1...
  _warn_copy_deprecated = True
  _warn_source_signatures_deprecated = True
  _warn_target_signatures_deprecated = True
  CleanTargets = {}
  CalculatorArgs = {}
  AliasBuilder = SCons.Builder.Builder(action= alias_builder, ta...
  reserved_construction_var_names = ['CHANGED_SOURCES', 'CHANGED...
  future_reserved_construction_var_names = []
  _is_valid_var = re.compile(r'[_a-zA-Z]\w*$')
Variables Details [hide private]

__revision__

Value:
'src/engine/SCons/Environment.py 5023 2010/06/14 22:05:46 scons'

AliasBuilder

Value:
SCons.Builder.Builder(action= alias_builder, target_factory= SCons.Nod\
e.Alias.default_ans.Alias, source_factory= SCons.Node.FS.Entry, multi=\
 1, is_explicit= None, name= 'AliasBuilder')

reserved_construction_var_names

Value:
['CHANGED_SOURCES',
 'CHANGED_TARGETS',
 'SOURCE',
 'SOURCES',
 'TARGET',
 'TARGETS',
 'UNCHANGED_SOURCES',
 'UNCHANGED_TARGETS']