Ë
    nûàgš  ã                   óL   — d dl mZ d dlmZmZ d dlmZmZ d dlZ G d„ d«      Z	y)é    )Ú	sysconfig)ÚCCompilerErrorÚDistutilsPlatformError)Úis_mingwÚsplit_quotedNc                   ó–  — e Zd Zej                  j                   e«        d¬«      d„ «       Zej                  j                   e«        d¬«      d„ «       Zej                  j                   e«        d¬«      d„ «       Z	ej                  j                   e«        d¬«      d„ «       Z
ej                  j                  d«      d„ «       Zy	)
ÚTestMingw32CCompilerznot on mingw)Úreasonc                 ó@   — ddl m}  |«       }|j                  dk(  sJ ‚y )Nr   ©ÚMingw32CCompilerÚmingw32)Údistutils.cygwinccompilerr   Úcompiler_type©Úselfr   Úcompilers      úm/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_mingwccompiler.pyÚtest_compiler_typez'TestMingw32CCompiler.test_compiler_type	   s!   € å>á#Ó%ˆØ×%Ñ%¨Ò2Ð2Ñ2ó    c                 ój  — ddl m} |j                  dd«       |j                  dd«        |«       }|j                  t	        d«      k(  sJ ‚|j
                  t	        d«      k(  sJ ‚|j                  t	        d	«      k(  sJ ‚|j                  t	        d«      k(  sJ ‚|j                  t	        d
«      k(  sJ ‚y )Nr   r   ÚCCÚccÚCXXzc++zcc -O -Wallzcc -shared -O -Wallzc++ -O -Wallz
cc -shared)	r   r   Úsetenvr   r   Úcompiler_soÚcompiler_cxxÚ
linker_exeÚ	linker_so)r   Úmonkeypatchr   r   s       r   Útest_set_executablesz)TestMingw32CCompiler.test_set_executables   s«   € å>à×Ñ˜4 Ô&Ø×Ñ˜5 %Ô(á#Ó%ˆà× Ñ ¤L°Ó$?Ò?Ð?Ð?Ø×#Ñ#¤|Ð4IÓ'JÒJÐJÐJØ×$Ñ$¬°^Ó(DÒDÐDÐDØ×"Ñ"¤l°4Ó&8Ò8Ð8Ð8Ø×!Ñ!¤\°,Ó%?Ò?Ð?Ñ?r   c                 óœ   — ddl m}  |«       }t        j                  t        «      5  |j                  d«       d d d «       y # 1 sw Y   y xY w)Nr   r   z/usr/lib)r   r   ÚpytestÚraisesr   Úruntime_library_dir_optionr   s      r   Útest_runtime_library_dir_optionz4TestMingw32CCompiler.test_runtime_library_dir_option   s=   € å>á#Ó%ˆÜ�]‰]Ô1Ó2ñ 	<Ø×/Ñ/°
Ô;÷	<÷ 	<ñ 	<ús   §AÁAc                 óØ   — dd l }|j                  |j                  dd„ «       t        j                  t
        «      5  |j                  j                  «        d d d «       y # 1 sw Y   y xY w)Nr   Úis_cygwinccc                  ó   — y)NT© )Ú_s    r   ú<lambda>z:TestMingw32CCompiler.test_cygwincc_error.<locals>.<lambda>+   s   � r   )r   ÚsetattrÚcygwinccompilerr#   r$   r   r   )r   r    Ú	distutilss      r   Útest_cygwincc_errorz(TestMingw32CCompiler.test_cygwincc_error'   sP   € ã(à×Ñ˜I×5Ñ5°}ÁnÔUä�]‰]œ>Ó*ñ 	9Ø×%Ñ%×6Ñ6Ô8÷	9÷ 	9ñ 	9ús   ¼A Á A)zsys.platform == "cygwin"c                 óH   — ddl m}  |«       }t        j                  |«       y )Nr   r   )r   r   r   Úcustomize_compilerr   s      r   Ú(test_customize_compiler_with_msvc_pythonz=TestMingw32CCompiler.test_customize_compiler_with_msvc_python0   s   € å>ñ
 $Ó%ˆÜ×$Ñ$ XÕ.r   N)Ú__name__Ú
__module__Ú__qualname__r#   ÚmarkÚskipifr   r   r!   r&   r0   r3   r*   r   r   r	   r	      sÖ   „ Ø‡[�[×Ñ™H›J˜¨~ÐÓ>ñ3ó ?ð3ð ‡[�[×Ñ™H›J˜¨~ÐÓ>ñ@ó ?ð@ð ‡[�[×Ñ™H›J˜¨~ÐÓ>ñ<ó ?ð<ð ‡[�[×Ñ™H›J˜¨~ÐÓ>ñ9ó ?ð9ð ‡[�[×ÑÐ2Ó3ñ/ó 4ñ/r   r	   )
r/   r   Údistutils.errorsr   r   Údistutils.utilr   r   r#   r	   r*   r   r   ú<module>r;      s   ðÝ ß Cß 1ã ÷0/ò 0/r   