mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
18 lines
336 B
Python
Executable File
18 lines
336 B
Python
Executable File
#!/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.9"
|
|
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
|
|
sys.exit(0)
|