https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/numpy/random/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/numpy/random/tests/__pycache__/test_extending.cpython-310.pyc
o

6��a�
�@s�ddlZddlZddlZddlZddlZddlZddlZddlm	Z	zddl
Z
Wney3dZ
Ynwejj
dkr<dZ
z#ejdd��Ze�dde�ddlZWd�n1sYwYWneyjdZYnwzddlZddlmZWney�dZYnwdd	lmZed
�Zee�ekr�dZejjedudd�ejjd
d���Zejjedup�e
dudd�dd��Zejje
dudd�dd��ZdS)�N)�exec_mod_from_location�T)�record�always�)�version)�LooseVersionz0.29.21zrequires cython)�reasoncCs�tj�tj�t�d�}t�||d�|ddd}tjt	j
ddddt|d	�d
dt|d�g	t|�d
�t|d�� }d}t
|�D]
\}}||vrMnqCJd�|���Wd�n1s_wYd}}t|d��}|D]}d|vr{|��}d|vr�|��}qqWd�n1s�wY|dus�J�|dus�J�td|�td|�}	ddlm}
|	�|
d�dd�}|jdks�J�|jtjks�J�dS)Nz..�random�	_examples�cythonzsetup.py�build�installz--prefix�
installdirz#--single-version-externally-managedz--recordztmp_install_log.txt)�cwdzextending.cz0NumPy API declarations from "numpy/__init__.pxd"Fz-Could not find '{}' in C file, wrong pxd usedz
extending.�extending_distributions�	extendingr)�PCG64�
�d)r)�os�path�join�dirname�__file__�shutil�copytree�
subprocess�
check_call�sys�
executable�str�open�	enumerate�format�stripr�numpy.randomr�uniforms_ex�shape�dtype�np�float64)�tmp_path�srcdir�	build_dir�fid�txt_to_find�i�line�so1�so2rr�values�r6�C/usr/lib/python3/dist-packages/numpy/random/tests/test_extending.py�test_cython,sR��	����	���
�r8zrequires numba and cfficC�ddlm}dS�Nr�r)�numpy.random._examples.numbarr;r6r6r7�
test_numbaXsr=z
requires cfficCr9r:)�numpy.random._examples.cffirr;r6r6r7�	test_cffi]sr?) r�pytestrrr�warnings�numpyr*�numpy.distutils.misc_utilr�cffi�ImportError�flags�optimize�catch_warnings�w�filterwarnings�DeprecationWarning�numbar�Cython.Compiler.Versionr�cython_version�distutils.versionr�required_version�mark�skipif�slowr8r=r?r6r6r6r7�<module>sV�
����*�


https://t.me/RX1948 - 2025