
    KhS                     
   S SK JrJr  S SKrS SKrS SKrS SKrS SKrS SKrS SK	r	S SK
rS SKJrJr   S SKr\R"                  R$                  S:  a  Sr \	R&                  " SS9 r\	R*                  " SS\5        S SKrSSS5         S SKrS S	KJr  S S
KJr  Sr\R@                  " \5      \RB                  " \5      :  a  Sr\RD                  RG                  \SS9\RD                  RG                  \RH                  S:H  =(       a    \RJ                  S:  SS9\RD                  RG                  \SS9\RD                  RG                  \SL SS9\RD                  RL                  S 5       5       5       5       5       r'\RD                  RG                  \SL =(       d    \SL SS9S 5       r(\RD                  RG                  \SL SS9S 5       r)g! \ a    Sr GNf = f! , (       d  f       GN^= f! \\4 a    Sr GNnf = f! \ a    Sr GNBf = f)    )spec_from_file_locationmodule_from_specN)IS_WASMIS_EDITABLE   T)recordalways )version)_pep440z3.0.6z)Editable install cannot find .pxd headers)reasonwin32l        z7Failing in 32-bit Windows wheel build job, skip for nowzCan't start subprocesszrequires cythonc                   ^^ SS K n[        R                  R                  [        R                  R	                  [
        5      S5      n[        R                  " X S-  5        U S-  S-  S-  nUS-  m[        R                  " TSS9  [        US	-  5      n[        US
5       nUR                  S5        UR                  S[        R                   S35        UR                  S[        R                   S35        S S S 5        [        R                  S:X  a&  [        R                   " SSSSSU[        U5      /TS9  O#[        R                   " SSSU[        U5      /TS9  [        R                   " / SQTS9  UR                  [        TS-  S-  5      5      n[        US   5       nSnU H
  n	X;   d  M
    O    SR#                  U5      5       eS S S 5        [$        R&                  " S5      mUU4S jn
U
" S5        U
" S5        U
" S 5      nSS!KJn  UR-                  U" S5      S"S#5      nUR.                  S$:X  d   eUR0                  [2        R4                  :X  d   eg ! , (       d  f       GNi= f! , (       d  f       N= f)%Nr   z..random	_examplescythonbuildT)exist_okzinterpreter-native-file.iniwz[binaries]
z
python = 'z'
zpython3 = ''r   mesonsetupz--buildtype=releasez--vsenvz--native-file)cwd)r   compilez-vv*zextending.pyx.cz+NumPy API declarations from "numpy/__init__z-Could not find '{}' in C file, wrong pxd used
EXT_SUFFIXc                    > TU -  R                  T5      n[        X5      n[        U5      nUR                  R	                  U5        U$ )N)with_suffixr   r   loaderexec_module)modnamesospecmodsuffix
target_dirs       S/var/www/html/env/lib/python3.13/site-packages/numpy/random/tests/test_extending.pyloadtest_cython.<locals>.loadf   sC    7"//7&w3t$$
    	extendingextending_cppextending_distributions)PCG64
   d)r/   )globospathjoindirname__file__shutilcopytreemakedirsstropenwritesys
executableplatform
subprocess
check_callformat	sysconfigget_config_varnumpy.randomr.   uniforms_exshapedtypenpfloat64)tmp_pathr1   srcdir	build_dirnative_filefgfidtxt_to_findliner(   r-   r.   valuesr%   r&   s                 @@r'   test_cythonrU   /   s0    WW\\"''//(3T:F
OOFx/08#k1H<IW$JKK
T* i"??@K	k3	1		*S^^,C01	+cnn-Q/0 
  ||ww4(/;"9~/ #-		  	w.S^M",	  5:F
 			#j3&)::;<A	adsCD" A ,,2F;,?A5 
 %%l3F 	"#<="$00q2sCF<<5   <<2::%%%a 
 	, 
s    AI"I,1I,
I),
I:zrequires numba and cffic                      SSK Jn   g Nr   r+   )numpy.random._examples.numbar+   rX   s    r'   
test_numbarZ   w   s     7r*   zrequires cffic                      SSK Jn   g rW   )numpy.random._examples.cffir+   rX   s    r'   	test_cffir]   |   s    5r*   )*importlib.utilr   r   r2   pytestr7   r@   r=   rC   warningsnumpyrI   numpy.testingr   r   cffiImportErrorflagsoptimizecatch_warningsr   filterwarningsDeprecationWarningnumbaSystemErrorr   Cython.Compiler.Versionr   cython_versionnumpy._utilsr   required_versionparseVersionmarkskipifr?   maxsizeslowrU   rZ   r]    r*   r'   <module>rw      s   D 	    
    . 99 D		 	 	-".@A 
.A %}}^$w7G'HH 6   7CKK%$7H   G$<=FdN+<=;&  > >		;&z ETM1TT\4  6767 DDL96 :6[  D 
.	- 	[! E  FsS   G G% #G<G% 
G6 GG
G"G% "G% %
G32G36HH