You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
332 B
17 lines
332 B
import os
|
|
import sys
|
|
|
|
src = os.path.abspath('waf')
|
|
dst = os.path.abspath(sys.argv[1])
|
|
|
|
sys.dont_write_bytecode = True
|
|
|
|
try:
|
|
from importlib.machinery import SourceFileLoader
|
|
waf = SourceFileLoader('waf', src).load_module()
|
|
except ImportError:
|
|
import imp
|
|
waf = imp.load_source('waf', src)
|
|
|
|
waf.unpack_wafdir(dst, src)
|