From: Robert Bradshaw Date: Tue, 10 Mar 2009 02:46:44 +0000 (-0700) Subject: Better error reporting in pyxbuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=09556243e5f155be9c75ccb9e3176e526d61d266;p=cython.git Better error reporting in pyxbuild --- 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)