a
    iÝEbƒ  ã                   @   sj   d dl Z d dlmZ dgZG dd„ deƒZedkrfd dlmZ e d¡ d dl	m
Z
 ee
d	d
� ¡ ƒ 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-vZg77Úf90z-Wv,-yaz<F90>Úarz-crÚranlib)Zversion_cmdZcompiler_f77Zcompiler_fixÚcompiler_f90Ú	linker_soÚarchiverr	   Nc                 C   s   d S ©Nr   )Úselfr   r   ú^/home/ja/django-apps/lartica_env/lib/python3.9/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   Z	customizeÚversionÚget_flags_arch)r   Zvast_versionZgnuÚoptr   r   r   r   '   s    


zVastFCompiler.get_flags_arch)Ú__name__Ú
__module__Ú__qualname__Úcompiler_typeZcompiler_aliasesÚdescriptionZversion_patternZobject_switchZexecutablesZmodule_dir_switchZmodule_include_switchr   r   r   r   r   r   r   r      s$   ù	Ú__main__)Úlogé   )Úcustomized_fcompilerr   )Úcompiler)r   Znumpy.distutils.fcompiler.gnur   Z	compilersr   r   Ú	distutilsr#   Úset_verbosityZnumpy.distutilsr%   Úprintr   r   r   r   r   Ú<module>   s   )
