1 2 3 4
import SCons.Script # this does all the work, and calls sys.exit # with the proper exit status when done. SCons.Script.main()