o
    tBhV                     @   s|   d dl Z d dlZd dlZd dlmZ d dlmZ e do%e dZ	dddZ
ed	kr<d d
lmZ ee
d dS dS )    N)join)platform_bitsWindowsMS c                    s  ddl m}m |d| |  fdd}tjd d dkr"dg}ng d	}|d
  d  d  d g }dg}tj	dkrI|d dg}t
rXtdkrX|dg7 }nt
s_|dg7 }tjdkri|dg7 }dg}g }	g d}
g d}dd } jd|dg |gdd dD ]4} jd | d | d!d"| d#| d!d"| d#| d$gd%d&td&|g||||
d | d'g |d( qd)D ]8}|d*kr||	 n|} jd | d | d!d"| d#| d!gd%d&td&|g||||
d | d'd+d,g |d( qd-D ]'} j|| d!g|||d%d&g|
| d'| d.g |d/  | d. qd0D ]} j|| d!g|d1g |d%d&g||
| d'g |d2 q% d3 tj	dkrTdd1gnd1g} jd4g d5g d6||||
d7g || d(  j|
   d8  S )9Nr   )Configurationget_mathlibsrandomc                    s6      } }tjdkr|ddg | j| d S )Nwin32Advapi32Kernel32)get_config_cmdsysplatformextend	libraries)ext	build_dir
config_cmdlibsconfigr    i/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/numpy/random/setup.pygenerate_libraries   s   
z)configuration.<locals>.generate_libraries   aix)_LARGE_FILESN))_FILE_OFFSET_BITS64)_LARGEFILE_SOURCE1)_LARGEFILE64_SOURCEr!   )NPY_NO_DEPRECATED_APIr   testsz
tests/data	_examples	npyrandomntmz-U__GNUC_GNU_INLINE__    z
/arch:SSE2z-std=c99cygwinz-Wl,--export-all-symbols)NP_RANDOM_LEGACYr!   )z__init__.pxdzc_distributions.pxdbit_generator.pxd)z src/distributions/logfactorial.c!src/distributions/distributions.cz%src/distributions/random_mvhg_count.cz)src/distributions/random_mvhg_marginals.cz)src/distributions/random_hypergeometric.cc                 S   s   | j jdkr	dgS g S )z Add flag if we are using MSVC compiler

        We can't see this in our scope, because we have not initialized the
        distutils build command, so use this deferred calculation to run when
        we are building the library.
        msvcz/GL-)compilercompiler_type)	build_cmdr   r   r   
gl_if_msvcL   s   z!configuration.<locals>.gl_if_msvclib)include_dirsextra_compiler_args)sourcesinstall_dir
build_info)mt19937_z.czsrc//z-jump.c.srcz.pyx)r6   r4   r   extra_compile_argsextra_link_argsdependsdefine_macros)philoxpcg64sfc64rC   zbit_generator.pyxr,   )_commonbit_generatorz.pxd)r6   r   r>   r?   r4   r@   rA   )
_generator_bounded_integersnpymath)r6   r   r>   r4   r?   r@   rA   z_bounded_integers.pxdmtrand)zmtrand.cz!src/legacy/legacy-distributions.cr-   )r<   r=   z
src/legacyz
mtrand.pyxz*.pyi)numpy.distutils.misc_utilr   r   r   r   appendadd_subpackageadd_data_dirosnameis_msvcr   add_installed_libraryadd_extensionr   add_data_files)parent_packagetop_pathr   r   defsEXTRA_LINK_ARGSEXTRA_LIBRARIESEXTRA_COMPILE_ARGSLEGACY_DEFS
PCG64_DEFSr@   npyrandom_sourcesr2   gen_defsmtrand_libsr   r   r   configuration   s   












	


	

ra   __main__)setup)ra   )r   N)rO   r   r   os.pathr   numpy.distutils.system_infor   
startswithpython_compilerrQ   ra   __name__numpy.distutils.corerc   r   r   r   r   <module>   s    
 