From 09556243e5f155be9c75ccb9e3176e526d61d266 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Mon, 9 Mar 2009 19:46:44 -0700 Subject: [PATCH] Better error reporting in pyxbuild --- pyximport/pyxbuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyximport/pyxbuild.py b/pyximport/pyxbuild.py index 0fb296be..80c68b16 100644 --- a/pyximport/pyxbuild.py +++ b/pyximport/pyxbuild.py @@ -23,7 +23,7 @@ def pyx_to_dll(filename, ext = None, force_rebuild = 0, build_in_temp=False, pyxbuild_dir=None): """Compile a PYX file to a DLL and return the name of the generated .so or .dll .""" - assert os.path.exists(filename) + assert os.path.exists(filename), "Could not find %s" % os.path.abspath(filename) path, name = os.path.split(filename) -- 2.26.2