o
    Ô­j/  ã                   @   sn   d dl Z d dlmZ dgZG dd„ deƒZedkr5d dlmZ e d¡ d dl	m
Z
 ee
d	d
� ¡ ƒ dS dS )é    N)Ú	FCompilerÚLaheyFCompilerc                   @   sl   e Zd ZdZdZdZddgddgddgdgddgd	d
gdgdœZdZdZdd„ Z	dd„ Z
dd„ Zdd„ ZdS )r   Úlaheyz!Lahey/Fujitsu Fortran 95 Compilerz>Lahey/Fujitsu Fortran 95 Compiler Release (?P<version>[^\s*]*)z<F90>z	--versionÚlf95z--fixz-sharedÚarz-crÚranlib)Úversion_cmdÚcompiler_f77Úcompiler_fixÚcompiler_f90Ú	linker_soÚarchiverr   Nc                 C   s   dgS )Nz-O© ©Úselfr   r   ú\/var/www/html/CropPilot/venv/lib/python3.10/site-packages/numpy/distutils/fcompiler/lahey.pyÚget_flags_opt   s   zLaheyFCompiler.get_flags_optc                 C   s   g d¢S )N)z-gz--chkz--chkglobalr   r   r   r   r   Úget_flags_debug   s   zLaheyFCompiler.get_flags_debugc                 C   s,   g }t j d¡}|r| t j |d¡¡ |S )NÚLAHEYÚlib)ÚosÚenvironÚgetÚappendÚpathÚjoin)r   ÚoptÚdr   r   r   Úget_library_dirs   s
   zLaheyFCompiler.get_library_dirsc                 C   s   g }|  g d¢¡ |S )N)Úfj9f6Úfj9i6Úfj9ippÚfj9e6)Úextend)r   r   r   r   r   Úget_libraries$   s   zLaheyFCompiler.get_libraries)Ú__name__Ú
__module__Ú__qualname__Úcompiler_typeÚdescriptionÚversion_patternÚexecutablesÚmodule_dir_switchÚmodule_include_switchr   r   r   r$   r   r   r   r   r      s$    ù
Ú__main__)Úlogé   )Úcustomized_fcompilerr   )Úcompiler)r   Únumpy.distutils.fcompilerr   Ú	compilersr   r%   Ú	distutilsr/   Úset_verbosityÚnumpy.distutilsr1   ÚprintÚget_versionr   r   r   r   Ú<module>   s    "
ü