%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib64/python3.9/site-packages/numpy/random/tests/__pycache__/
Upload File :
Create Path :
Current File : //lib64/python3.9/site-packages/numpy/random/tests/__pycache__/test_extending.cpython-39.opt-1.pyc

a

z[yc�
�@s�ddlZddlZddlZddlZddlZddlZddlZddlm	Z	zddl
Z
WneyfdZ
Yn0ejj
dkrxdZ
zFejdd��&Ze�dde�ddlZWd�n1s�0YWney�dZYn0zddlZddlmZWne�ydZYn,0dd	lmZd
Ze�e�e�e�k�r2dZejjedudd�ejjd
d���Zejjedu�ple
dudd�dd��Z ejje
dudd�dd��Z!dS)�N)�exec_mod_from_location�T)�record�always�)�version)�_pep440z0.29.30zrequires cython)�reasoncCsPtj�tj�t�d�}t�||d�|ddd}tjt	j
ddddt|d	�d
dt|d�g	t|�d
�t|d��2}d}t
|�D]\}}||vr�q�q�Wd�n1s�0Yd}}t|d��:}|D]$}d|vr�|��}d|vr�|��}q�Wd�n1�s0Ytd|�td|�}	ddlm}
|	�|
d�dd�}dS)Nz..ZrandomZ	_examples�cythonzsetup.pyZbuild�installz--prefixZ
installdirz#--single-version-externally-managedz--recordztmp_install_log.txt)�cwdzextending.cz0NumPy API declarations from "numpy/__init__.pxd"z
extending.�extending_distributions�	extendingr)�PCG64�
�d)�os�path�join�dirname�__file__�shutil�copytree�
subprocessZ
check_call�sys�
executable�str�open�	enumerate�striprZnumpy.randomrZuniforms_ex)Ztmp_pathZsrcdirZ	build_dirZfidZtxt_to_find�i�lineZso1Zso2r
r�values�r#�G/usr/lib64/python3.9/site-packages/numpy/random/tests/test_extending.py�test_cython,s<��	*
�r%zrequires numba and cfficCsddlm}dS�Nr�r)Znumpy.random._examples.numbarr'r#r#r$�
test_numbaXsr(z
requires cfficCsddlm}dSr&)Znumpy.random._examples.cffirr'r#r#r$�	test_cffi]sr))"rZpytestrrr�warningsZnumpyZnpZnumpy.distutils.misc_utilrZcffi�ImportError�flags�optimize�catch_warnings�w�filterwarnings�DeprecationWarningZnumbar
ZCython.Compiler.VersionrZcython_versionZnumpy.compatrZrequired_version�parseZVersionZmarkZskipifZslowr%r(r)r#r#r#r$�<module>sJ
*

*�


Zerion Mini Shell 1.0