1
0

errors.py 524 B

12345678910111213141516
  1. """setuptools.errors
  2. Provides exceptions used by setuptools modules.
  3. """
  4. from distutils.errors import DistutilsError
  5. class RemovedCommandError(DistutilsError, RuntimeError):
  6. """Error used for commands that have been removed in setuptools.
  7. Since ``setuptools`` is built on ``distutils``, simply removing a command
  8. from ``setuptools`` will make the behavior fall back to ``distutils``; this
  9. error is raised if a command exists in ``distutils`` but has been actively
  10. removed in ``setuptools``.
  11. """