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)ÚGnuFCompilerÚVastFCompilerc                   @   sh   e Zd ZdZdZdZdZdZddgdgd	d
gd	gdgddgdgdœZdZ	dZ
dd„ Zdd„ Zdd„ ZdS )r   Úvast© z+Pacific-Sierra Research Fortran 90 CompilerzM\s*Pacific-Sierra Research vf90 (Personal|Professional)\s+(?P<version>[^\s]*)z= && function _mvfile { mv -v `basename $1` $1 ; } && _mvfile Úvf90z-vÚg77Úf90z-Wv,-yaz<F90>Úarz-crÚranlib)Úversion_cmdÚcompiler_f77Úcompiler_fixÚcompiler_f90Ú	linker_soÚarchiverr
   Nc                 C   s   d S ©Nr   )Úselfr   r   ú[/var/www/html/CropPilot/venv/lib/python3.10/site-packages/numpy/distutils/fcompiler/vast.pyÚfind_executables   s   zVastFCompiler.find_executablesc                 C   s0   | j d }tj |¡\}}tj |d| ¡}|S )Nr   Úv)r   ÚosÚpathÚsplitÚjoin)r   r   ÚdÚbr   r   r   r   Úget_version_cmd!   s   
zVastFCompiler.get_version_cmdc                 C   s6   |   ¡ }tƒ }| d ¡ |  ¡ | _t | ¡}|| _|S r   )Úget_versionr   Ú	customizeÚversionÚget_flags_arch)r   Úvast_versionÚgnuÚoptr   r   r   r    '   s   


zVastFCompiler.get_flags_arch)Ú__name__Ú
__module__Ú__qualname__Úcompiler_typeÚcompiler_aliasesÚdescriptionÚversion_patternÚobject_switchÚexecutablesÚmodule_dir_switchÚmodule_include_switchr   r   r    r   r   r   r   r      s&    ù	Ú__main__)Úlogé   )Úcustomized_fcompilerr   )Úcompiler)r   Únumpy.distutils.fcompiler.gnur   Ú	compilersr   r$   Ú	distutilsr0   Úset_verbosityÚnumpy.distutilsr2   Úprintr   r   r   r   r   Ú<module>   s    )
ü