관리-도구
편집 파일: setup.cpython-37.pyc
B ��Fd� � @ sL d dl mZmZ d dlZd dlZd dd�ZedkrHd dlmZ eed� dS ) � )�division�print_functionN� c s ddl m} ddlm} |d| |�}|�d� d}tj�|d�tj�|d�tj�|d �tj�|d �tj�|d�tj�|d�tj�|d �tj�|d�tj�|d�g }|�|�� |dd��� �fdd�}|j dd|gdg�dd gd� |j dd|gdg�dgdd gd� |S )Nr )� Configuration)�get_info�linalg�tests�lapack_litezpython_xerbla.czf2c_z_lapack.czf2c_c_lapack.czf2c_d_lapack.czf2c_s_lapack.czf2c_lapack.cz f2c_blas.czf2c_config.czf2c.c� lapack_optc s4 �st d� � S tjdkr&t d� g S � d gS d S )Nz*### Warning: Using unoptimized lapack ###�win32z-### Warning: python_xerbla.c is disabled ###r )�print�sys�platform)�ext� build_dir)�all_sources�lapack_info� �E/opt/alt/python37/lib64/python3.7/site-packages/numpy/linalg/setup.py�get_lapack_lite_sources s z.configuration.<locals>.get_lapack_lite_sourceszlapack_litemodule.czlapack_lite/f2c.hz -Wl,-rpath=%sz/opt/alt/python37/lib64)�sources�depends� extra_info�extra_link_args� _umath_linalgzumath_linalg.c.src�npymath)r r r � librariesr ) �numpy.distutils.misc_utilr �numpy.distutils.system_infor �add_data_dir�os�path�join�paths� add_extension)�parent_package�top_pathr r �config�src_dir�lapack_lite_srcr r )r r r � configuration s>