From 49652d6d83f40b9c8f7d00f9e77f5541b77b2f7e Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Sun, 15 Apr 2012 20:29:05 -0400 Subject: [PATCH] Update aksetup. --- aksetup_helper.py | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/aksetup_helper.py b/aksetup_helper.py index 508c5709..cafdad64 100644 --- a/aksetup_helper.py +++ b/aksetup_helper.py @@ -316,7 +316,8 @@ class ConfigSchema: except IOError: pass - del filevars["__builtins__"] + if "__builtins__" in filevars: + del filevars["__builtins__"] for key, value in config.items(): if value is not None: diff --git a/setup.py b/setup.py index 1694fd30..7dc43026 100644 --- a/setup.py +++ b/setup.py @@ -117,7 +117,7 @@ def main(): print("Mako is not installed.") print("-------------------------------------------------------------------------") print("That is not a problem, as most of PyOpenCL will be just fine without it.") - print("Some higher-level parts of pyopencl (pyopencl.reduction, to be precise)") + print("Some higher-level parts of pyopencl (such as pyopencl.reduction)") print("will not function without the templating engine Mako [1] being installed.") print("If you would like this functionality to work, you might want to install") print("Mako after you finish installing PyOpenCL.") -- GitLab