
    ?wg                     2    d Z ddlZddlmZ g fdee   fdZy)a  
Test suite for distutils.

Tests for the command classes in the distutils.command package are
included in distutils.tests as well, instead of using a separate
distutils.command.tests package, since command identification is done
by import rather than matching pre-defined names.
    N)Sequence	cmd_namesc                 n   ddl m}m}m} |j	                         }|j                  |       |j                  dk(  r	 |j                          |j                  D ]F  }| r|| vr
t        ||      }| r|J d| d       |s(t        j                  |d         A|d   c S  y# |j                  $ r Y yw xY w)a<  Check if the compiler components used to build the interpreter exist.

    Check for the existence of the compiler executables whose names are listed
    in 'cmd_names' or all the compiler executables when 'cmd_names' is empty
    and return the first missing executable or None when none is found
    missing.

    r   )	ccompilererrors	sysconfigmsvcNzthe 'z' executable is not configured)	distutilsr   r   r   new_compilercustomize_compilercompiler_type
initializeDistutilsPlatformErrorexecutablesgetattrshutilwhich)r   r   r   r   compilernamecmds          [/var/www/horilla/myenv/lib/python3.12/site-packages/setuptools/_distutils/tests/__init__.pymissing_compiler_executabler      s     76%%'H  *'	! $$ 	Y.h%?PeD61O$PP?<<A'q6M	 ,, 		s   B" "B43B4)__doc__r   collections.abcr   strr        r   <module>r      s'     $ <> 8C= r   