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

Added DistutilsExecError, DistutilsValueError.

üst e27db5a3
......@@ -52,12 +52,22 @@ if type (RuntimeError) is types.ClassType:
class DistutilsOptionError (DistutilsError):
pass
# DistutilsValueError is raised anytime an option value (presumably
# provided by setup.py) is invalid.
class DistutilsValueError (DistutilsError):
pass
# DistutilsPlatformError is raised when we find that we don't
# know how to do something on the current platform (but we do
# know how to do it on some platform).
class DistutilsPlatformError (DistutilsError):
pass
# DistutilsExecError is raised if there are any problems executing
# an external program
class DistutilsExecError (DistutilsError):
pass
# String-based exceptions
else:
DistutilsError = 'DistutilsError'
......@@ -67,6 +77,8 @@ else:
DistutilsArgError = 'DistutilsArgError'
DistutilsFileError = 'DistutilsFileError'
DistutilsOptionError = 'DistutilsOptionError'
DistutilsValueError = 'DistutilsValueError'
DistutilsPlatformError = 'DistutilsPlatformError'
DistutilsExecError = 'DistutilsExecError'
del types
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