diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-03-07 16:50:43 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-03-07 16:50:43 -0500 |
| commit | 278e027348f52fc0dfc7ac6046fd169632922bb1 (patch) | |
| tree | ab7a3b10c25421a3a040b0fa2c163e4fa380767f /setuptools/errors.py | |
| parent | c5958f26680b8bfad10d0ec03a613725c9a4c580 (diff) | |
| parent | 25edd1951d8d44c34578c926f5c20ed3d452587b (diff) | |
| download | python-setuptools-git-278e027348f52fc0dfc7ac6046fd169632922bb1.tar.gz | |
Merge branch 'master' into patch-1
Diffstat (limited to 'setuptools/errors.py')
| -rw-r--r-- | setuptools/errors.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/setuptools/errors.py b/setuptools/errors.py new file mode 100644 index 00000000..2701747f --- /dev/null +++ b/setuptools/errors.py @@ -0,0 +1,16 @@ +"""setuptools.errors + +Provides exceptions used by setuptools modules. +""" + +from distutils.errors import DistutilsError + + +class RemovedCommandError(DistutilsError, RuntimeError): + """Error used for commands that have been removed in setuptools. + + Since ``setuptools`` is built on ``distutils``, simply removing a command + from ``setuptools`` will make the behavior fall back to ``distutils``; this + error is raised if a command exists in ``distutils`` but has been actively + removed in ``setuptools``. + """ |
