관리-도구
편집 파일: setup_common.cpython-37.pyc
B ��Fd�; � # @ s$ d dl mZmZmZ d dlZd dlZd dlZd dlZd dlm Z dZ dZG dd� de�Z dd � Zd d� Zdd � Zddddddddddddddddddd d!gZd"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7gZd8d9d:d;d<gZd=d>d?d@dAdBdCdDdEdFdGdHdIdJdKgZdLdMdNdOdPgZdQdRgZd"d#d$d&d%d+d.d0d1g Zdddddddddd'd(dddd#dd"dddd%d$d&d+d,d-ddd d!d)d*d.d/d4g#ZdSdT� eD �ZdUdT� eD �ZdVdWdXgZdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdngZdodp� Zdqdr� Zdsdt� Zdudv� Z dwZ!dxdy� Z"dzdzdzdzdzdzdzdzd{d|d}d~dd�d�d�gZ#d�d�d�d�d�d�d�d�gZ$d�d�d�d�d�dzdzdzgZ%e%ddd�� Z&dzdzdzdzd�d�d�d�d�d�dzdzgZ'dzdzdzdzd�d�d�d�d�d�dzdzdzdzdzdzgZ(d�d�dzdzd�d�d�d�dzdzdzdzgZ)d�d�d�d�d}d�dzdzdzdzdzdzdzdzdzdzgZ*e*ddd�� Z+d�d�d�d�d�dzdzdzgdzgd� Z,dzdzdzd�d�d�d�d�gdzgd� Z-d�d�� Z.dS )�� )�division�absolute_import�print_functionN)�mingw32i � c @ s e Zd ZdS )�MismatchCAPIWarningN)�__name__� __module__�__qualname__� r r �J/opt/alt/python37/lib64/python3.7/site-packages/numpy/core/setup_common.pyr , s r c C sF ddl m} | �d�}|dkr&td��||d�j}t|�dkrBdS d S ) z7Return True if a released version of numpy is detected.r )�LooseVersionz ../version.pyNzCould not get version)�vstring� FT)�distutils.versionr �get_version� ValueError�version�len)�configr �v�pvr r r �is_released/ s r c C sN t j�d|� z(td�}td�}|�|j�}|�� }W dt jd= X ||| fS )z� Return current C API checksum and the recorded checksum. Return current C API checksum and the recorded checksum for the given version of the C API version. r �genapi� numpy_apiN)�sys�path�insert� __import__�fullapi_hash�full_api�get_versions_hash)� apiversion�codegen_dir�mr �curapi_hash� apis_hashr r r �get_api_versions; s r'