_i d Z G d de Z G d de Z G d de Z G d de Z G d d
e Z G d de Z G d
de Z G d de Z G d de Z
G d de Z G d de Z G d de Z
G d de Z G d de Z G d de Z G d d e Z G d! d"e Z G d# d$e Z G d% d&e Zy')(a distutils.errors
Provides exceptions used by the Distutils modules. Note that Distutils
modules may raise standard exceptions; in particular, SystemExit is
usually raised for errors that are obviously the end-user's fault
(eg. bad command-line arguments).
This module is safe to use in "from ... import *" mode; it only exports
symbols whose names start with "Distutils" and end with "Error".c e Zd ZdZy)DistutilsErrorzThe root of all Distutils evil.N__name__
__module____qualname____doc__ /builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-3.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/_distutils/errors.pyr r s )r
r c e Zd ZdZy)DistutilsModuleErrorzUnable to load an expected module, or to find an expected class
within some module (in particular, command modules and classes).Nr r r
r r
r
s
H r
r
c e Zd ZdZy)DistutilsClassErrorzSome command class (or possibly distribution class, if anyone
feels a need to subclass Distribution) is found not to be holding
up its end of the bargain, ie. implementing some part of the
"command "interface.Nr r r
r r r s
r
r c e Zd ZdZy)DistutilsGetoptErrorz7The option table provided to 'fancy_getopt()' is bogus.Nr r r
r r r " s Ar
r c e Zd ZdZy)DistutilsArgErrorzaRaised by fancy_getopt in response to getopt.error -- ie. an
error in the command line usage.Nr r r
r r r ( s ( r
r c e Zd ZdZy)DistutilsFileErrorzAny problems in the filesystem: expected file not found, etc.
Typically this is for problems that we detect before OSError
could be raised.Nr r r
r r r / s r
r c e Zd ZdZy)DistutilsOptionErrora Syntactic/semantic errors in command options, such as use of
mutually conflicting options, or inconsistent options,
badly-spelled values, etc. No distinction is made between option
values originating in the setup script, the command line, config
files, or what-have-you -- but if we *know* something originated in
the setup script, we'll raise DistutilsSetupError instead.Nr r r
r r r 7 s
B r
r c e Zd ZdZy)DistutilsSetupErrorzqFor errors that can be definitely blamed on the setup script,
such as invalid keyword arguments to 'setup()'.Nr r r
r r r B s 7 r
r c e Zd ZdZy)DistutilsPlatformErrorzWe don't know how to do something on the current platform (but
we do know how to do it on some platform) -- eg. trying to compile
C files on a platform not supported by a CCompiler subclass.Nr r r
r r r I s
D r
r c e Zd ZdZy)DistutilsExecErrorz`Any problems executing an external program (such as the C
compiler, when compiling C files).Nr r r
r r r Q s * r
r c e Zd ZdZy)DistutilsInternalErrorzoInternal inconsistencies or impossibilities (obviously, this
should never be seen if the code is working!).Nr r r
r r r X s 6 r
r c e Zd ZdZy)DistutilsTemplateErrorz%Syntax error in a file list template.Nr r r
r r! r! _ s /r
r! c e Zd ZdZy)DistutilsByteCompileErrorzByte compile error.Nr r r
r r# r# c s r
r# c e Zd ZdZy)CCompilerErrorz#Some compile/link operation failed.Nr r r
r r% r% h s -r
r% c e Zd ZdZy)PreprocessErrorz.Failure to preprocess one or more C/C++ files.Nr r r
r r' r' l s 8r
r' c e Zd ZdZy)CompileErrorz2Failure to compile one or more C/C++ source files.Nr r r
r r) r) p s