Upgrade to WAF 1.5.15

This commit is contained in:
Ryan Dahl committed 2010-04-04 21:12:25 -07:00
1 parent ec0266a56c
commit 01f7d4484e
23 files changed
+193 -96

No files matched your search

+2 -2
View File
@@ -55,7 +55,7 @@ def init_pyembed(self):
@extension(EXT_PY)
def process_py(self, node):
if not (self.bld.is_install or self.install_path):
if not (self.bld.is_install and self.install_path):
return
def inst_py(ctx):
install_pyfile(self, node)
@@ -122,7 +122,7 @@ def _get_python_variables(python_exe, variables, imports=['import sys']):
except KeyError:
pass
proc = Utils.pproc.Popen([python_exe, "-c", '\n'.join(program)], stdout=Utils.pproc.PIPE, env=os_env)
output = proc.communicate()[0].split("\n")
output = proc.communicate()[0].split("\n") # do not touch, python3
if proc.returncode:
if Options.options.verbose:
warn("Python program to extract python configuration variables failed:\n%s"