
    Ri                        d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ	 eZ
e	Z G d d	e          Z G d
 de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d  d!e          Zd"S )#z
Exceptions used by the Distutils modules.

Distutils modules may raise these or standard exceptions,
including :exc:`SystemExit`.
   )CompileError)Error)LibError)	LinkError)PreprocessError)UnknownFileTypec                       e Zd ZdZdS )DistutilsErrorzThe root of all Distutils evil.N__name__
__module____qualname____doc__     \/Users/shanyulin/my-agent/.venv/lib/python3.11/site-packages/setuptools/_distutils/errors.pyr
   r
      s        ))Dr   r
   c                       e Zd ZdZdS )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 H 	Dr   r   c                       e Zd ZdZdS )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         
 	Dr   r   c                       e Zd ZdZdS )DistutilsGetoptErrorz7The option table provided to 'fancy_getopt()' is bogus.Nr   r   r   r   r   r   *   s        AADr   r   c                       e Zd ZdZdS )DistutilsArgErrorzaRaised by fancy_getopt in response to getopt.error -- ie. an
    error in the command line usage.Nr   r   r   r   r   r   0   s        ( ( 	Dr   r   c                       e Zd ZdZdS )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   7   s          	Dr   r   c                       e Zd ZdZdS )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   ?   s        B B 	Dr   r   c                       e Zd ZdZdS )DistutilsSetupErrorzqFor errors that can be definitely blamed on the setup script,
    such as invalid keyword arguments to 'setup()'.Nr   r   r   r   r    r    J   s        7 7 	Dr   r    c                       e Zd ZdZdS )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"   Q   s        D D 	Dr   r"   c                       e Zd ZdZdS )DistutilsExecErrorz`Any problems executing an external program (such as the C
    compiler, when compiling C files).Nr   r   r   r   r$   r$   Y   s        * * 	Dr   r$   c                       e Zd ZdZdS )DistutilsInternalErrorzoInternal inconsistencies or impossibilities (obviously, this
    should never be seen if the code is working!).Nr   r   r   r   r&   r&   `   s        6 6 	Dr   r&   c                       e Zd ZdZdS )DistutilsTemplateErrorz%Syntax error in a file list template.Nr   r   r   r   r(   r(   g   s        ////r   r(   c                       e Zd ZdZdS )DistutilsByteCompileErrorzByte compile error.Nr   r   r   r   r*   r*   k   s        r   r*   N)r   compilers.C.errorsr   r   _Errorr   r   r   r   _UnknownFileTypeCCompilerErrorUnknownFileError	Exceptionr
   r   r   r   r   r   r   r    r"   r$   r&   r(   r*   r   r   r   <module>r1      s    = < < < < < / / / / / / 4 4 4 4 4 4 6 6 6 6 6 6 B B B B B B C C C C C C# 	 	 	 	 	Y 	 	 		 	 	 	 	> 	 	 		 	 	 	 	. 	 	 		 	 	 	 	> 	 	 		 	 	 	 	 	 	 		 	 	 	 	 	 	 		 	 	 	 	> 	 	 		 	 	 	 	. 	 	 		 	 	 	 	^ 	 	 		 	 	 	 	 	 	 		 	 	 	 	^ 	 	 	0 0 0 0 0^ 0 0 0         r   