Install node-waf

This commit is contained in:
Ryan Dahl committed 2010-10-28 19:43:36 -07:00
1 parent 9bea4c8d58
commit fa7dcbec8b
2 files changed
+1

No files matched your search

Executable
+17
View File
@@ -0,0 +1,17 @@
#!/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)