Commit 1633033a authored by Greg Ward's avatar Greg Ward

Catch DistutilsFileError in addition to DistutilsExecError in 'setup()'.

parent 79cc38ef
......@@ -96,7 +96,7 @@ def setup (**attrs):
"error: %s: %s" % (exc.filename, exc.strerror)
else:
raise SystemExit, str (exc)
except DistutilsExecError, msg:
except (DistutilsExecError, DistutilsFileError), msg:
raise SystemExit, "error: " + str (msg)
# setup ()
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