o
    Ô­jý  ã                   @   s(   d dl mZ d dlZg d¢Zdd„ ZdS )é    )Úassert_N))Úf77ÚF77FLAGS)Úf90ÚF90FLAGS)ÚfreeÚ	FREEFLAGS)ÚarchÚFARCH)ÚdebugÚFDEBUG)ÚflagsÚFFLAGS)Ú	linker_soÚLDFLAGSc                 C   sø   |   dd¡ tjjjdd�}|j dd„ ¡}tD ]%\}}d |¡}t	||ƒ}|   ||¡ t	||ƒ}|  
|¡ t||gkƒ q|   dd¡ tD ]3\}}d |¡}t	||ƒ}|   ||¡ t	||ƒ}|  
|¡ |d u rpt||gkƒ qFt|||g kƒ qFd S )	NÚNPY_DISTUTILS_APPEND_FLAGSÚ0Únone)Úcompilerc                  _   s   d S )N© )ÚargsÚkwargsr   r   úa/var/www/html/CropPilot/venv/lib/python3.10/site-packages/numpy/distutils/tests/test_fcompiler.pyÚ<lambda>   s    z&test_fcompiler_flags.<locals>.<lambda>z-dummy-{}-flagÚ1)ÚsetenvÚnumpyÚ	distutilsÚ	fcompilerÚnew_fcompilerÚ	flag_varsÚcloneÚcustomizable_flagsÚformatÚgetattrÚdelenvr   )ÚmonkeypatchÚfcr    ÚoptÚenvvarÚnew_flagÚ
prev_flagsÚ	new_flagsr   r   r   Útest_fcompiler_flags   s*   







ör-   )Únumpy.testingr   Únumpy.distutils.fcompilerr   r"   r-   r   r   r   r   Ú<module>   s    