18 строки
355 B
Python
Executable File
18 строки
355 B
Python
Executable File
#!/usr/bin/env python
|
|
import os, sys
|
|
|
|
|
|
join = os.path.join
|
|
bindir = os.path.dirname(os.path.realpath(__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.16"
|
|
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
|
|
sys.exit(0)
|