mirror of
https://github.com/nodejs/node.git
synced 2024-11-22 07:37:56 +01:00
18 lines
355 B
Python
Executable File
18 lines
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)
|