summaryrefslogtreecommitdiffstats
path: root/third_party/python/setuptools/setuptools/errors.py
blob: 2701747f56cc77845159f2c5fee2d0ce114259af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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``.
    """