Kaydet (Commit) b2e2c292 authored tarafından Greg Ward's avatar Greg Ward

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

üst b361233c
......@@ -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