3
eåU^Y  ã               @   sŒ   d Z ddlmZmZmZ ddlmZ ddlmZ ddlT y&ddlm	Z	 ddl
mZ eeƒZ[W n ek
rr   Y nX dd
d„Zddd„Zd	S )a;  
An enhanced distutils, providing support for Fortran compilers, for BLAS,
LAPACK and other common libraries for numerical computing, and more.

Public submodules are::

    misc_util
    system_info
    cpu_info
    log
    exec_command

For details, please see the *Packaging* and *NumPy Distutils User Guide*
sections of the NumPy Reference Guide.

For configuring the preference for and location of libraries like BLAS and
LAPACK, and for setting include paths and similar build options, please see
``site.cfg.example`` in the root of the NumPy repository or sdist.

é    )ÚdivisionÚabsolute_importÚprint_functioné   )Ú	ccompiler)Úunixccompiler)Ú*)Ú
__config__)ÚPytestTesterNc             C   s$   ddl m} || |d�}|jƒ  |S )Nr   )Únew_fcompiler)ÚplatÚcompiler)Znumpy.distutils.fcompilerr   Ú	customize)r   r   r   Úc© r   ú9/tmp/pip-build-fou5mlat/numpy/numpy/distutils/__init__.pyÚcustomized_fcompiler,   s    r   c             C   s   t j| ||d�}|jdƒ |S )N)r   r   ÚverboseÚ )r   Znew_compilerr   )r   r   r   r   r   r   r   Úcustomized_ccompiler2   s    
r   )NN)NNr   )Ú__doc__Ú
__future__r   r   r   r   r   r   Znpy_pkg_configr	   Znumpy._pytesttesterr
   Ú__name__ÚtestÚImportErrorr   r   r   r   r   r   Ú<module>   s   
