관리-도구
편집 파일: build.cpython-37.pyc
B ��FdR � @ s\ d dl mZmZmZ d dlZd dlZd dlmZ d dl m Z d dlmZ G dd� de�ZdS )� )�division�absolute_import�print_functionN)�build)�get_platform)�show_fortran_compilersc @ sl e Zd Zddd� fddd� fdejfgej Zejddg Zejd d defg Zdd � Z dd� Z dd� Zd S )r � config_ccc G s dS )NT� )�argsr r �P/opt/alt/python37/lib64/python3.7/site-packages/numpy/distutils/command/build.py�<lambda> � zbuild.<lambda>� config_fcc G s dS )NTr )r r r r r r � build_src)z fcompiler=Nz!specify the Fortran compiler type)z parallel=�jznumber of parallel jobszhelp-fcompilerNz list available Fortran compilersc C s t �| � d | _d | _d S )N)� old_build�initialize_options� fcompiler�parallel)�selfr r r r s zbuild.initialize_optionsc C s~ | j r4yt| j �| _ W n tk r2 td��Y nX | j}t�| � dt� tjdd� f }|d krzt j �| jd| �| _d S )Nz)--parallel/-j argument must be an integerz.%s-%sr � �scripts) r �int� ValueError� build_scriptsr �finalize_optionsr �sys�version�os�path�join� build_base)r r �plat_specifierr r r r ! s zbuild.finalize_optionsc C s t �| � d S )N)r �run)r r r r r# . s z build.run)�__name__� __module__�__qualname__r �has_ext_modules�sub_commands�user_options�help_optionsr r r r# r r r r r s r ) � __future__r r r r r �distutils.command.buildr r �distutils.utilr �'numpy.distutils.command.config_compilerr r r r r �<module> s