Tips for debugging SCons code and your scripts
To use local scons source rather than installed:
Put these lines in a shell script and run the script. If you want to run it regularly, make the script executable and put it in your private bin directory.
You can also run from a checked-out SCons source dir using bootstrap.py, which takes the same args as SCons. That should always use the SCons engine from where bootstrap.py is found.
1 python /path_to_scons_src/bootstrap.py .
If you run the commands by hand, don't include the "exec" in the final line.