#!/usr/bin/env python import os, sys join = os.path.join bindir = os.path.dirname(__file__) prefix = join(bindir, "..") wafdir = join(prefix, "lib", "node") w = join(wafdir, 'wafadmin') t = join(w, 'Tools') sys.path = [w, t] + sys.path import Scripting VERSION="1.5.10" Scripting.prepare(t, os.getcwd(), VERSION, wafdir) sys.exit(0)