ReplacingAction

class sconstool.util.ReplacingAction(wrapped, replacements={}, **kw)[source]

SCons action wrapper, replaces construction variables and calls the wrapped action.

Parameters:
__call__(target, source, env, *args, **kw)[source]

Calls the wrapped action with replaced construction variables.

sort_call_args(env, target, source, *args)[source]

May be be overwritten in a subclass to reorganize positional arguments passed to wrapped.