diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2019-12-29 12:47:31 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2019-12-29 12:47:31 -0500 |
| commit | a5b66a8581b758aff763765857359ef540631202 (patch) | |
| tree | 9404571514fbe550c98a939bd4458d97e1bf1dd2 /setuptools/errors.py | |
| parent | d53e024af2f5d8f3a4a36588c3dc004d156bc830 (diff) | |
| parent | e6bdf25f6ab5bf4d32b0f9affa0ab98ea35f3a29 (diff) | |
| download | external_python_setuptools-a5b66a8581b758aff763765857359ef540631202.tar.gz external_python_setuptools-a5b66a8581b758aff763765857359ef540631202.tar.bz2 external_python_setuptools-a5b66a8581b758aff763765857359ef540631202.zip | |
Merge branch 'master' into feature/include-pyproject.toml
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``. + """ |
