Commit 09556243 authored by Robert Bradshaw's avatar Robert Bradshaw

Better error reporting in pyxbuild

parent 5652ad89
...@@ -23,7 +23,7 @@ def pyx_to_dll(filename, ext = None, force_rebuild = 0, ...@@ -23,7 +23,7 @@ def pyx_to_dll(filename, ext = None, force_rebuild = 0,
build_in_temp=False, pyxbuild_dir=None): build_in_temp=False, pyxbuild_dir=None):
"""Compile a PYX file to a DLL and return the name of the generated .so """Compile a PYX file to a DLL and return the name of the generated .so
or .dll .""" 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) path, name = os.path.split(filename)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment