• File: setup_common.cpython-37.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib64/python3.7/site-packages/numpy/core/__pycache__/setup_common.cpython-37.pyc
  • Date Modified: 04/24/2023 7:10 PM
  • File size: 9.63 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

<Fd;#@s$ddlmZmZmZddlZddlZddlZddlZddlm	Z	dZ
dZGdddeZ
dd	Zd
dZdd
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#ZdSdTeDZdUdTeDZdVdWdXgZdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdngZdodpZdqdrZdsdtZdudvZ dwZ!dxdyZ"dzdzdzdzdzdzdzdzd{d|d}d~ddddgZ#ddddddddgZ$ddddddzdzdzgZ%e%dddZ&dzdzdzdzdddddddzdzgZ'dzdzdzdzdddddddzdzdzdzdzdzgZ(dddzdzdddddzdzdzdzgZ)ddddd}ddzdzdzdzdzdzdzdzdzdzgZ*e*dddZ+ddddddzdzdzgdzgdZ,dzdzdzdddddgdzgdZ-ddZ.dS))divisionabsolute_importprint_functionN)mingw32i	c@seZdZdS)MismatchCAPIWarningN)__name__
__module____qualname__rrJ/opt/alt/python37/lib64/python3.7/site-packages/numpy/core/setup_common.pyr,srcCsFddlm}|d}|dkr&td||dj}t|dkrBdSd	S)
z7Return True if a released version of numpy is detected.r)LooseVersionz
../version.pyNzCould not get version)ZvstringFT)Zdistutils.versionr
Zget_version
ValueErrorversionlen)Zconfigr
vZpvrrris_released/s
rcCsNtjd|z(td}td}||j}|}Wdtjd=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.

    rZgenapi	numpy_apiN)syspathinsert
__import__Zfullapi_hashZfull_apiZget_versions_hash)
apiversioncodegen_dirmrcurapi_hashZ	apis_hashrrrget_api_versions;s

rcCs<t||\}}||ks8d}tj|||||tftdddS)z@Emits a MismacthCAPIWarning if the C API version needs updating.aAPI mismatch detected, the C API version numbers have to be updated. Current C api version is %d, with checksum %s, but recorded checksum for C API version %d in codegen_dir/cversions.txt is %s. If functions were added in the C API, you have to update C_API_VERSION  in %s.)
stacklevelN)rwarningswarn__file__r)rrrZapi_hashmsgrrrcheck_api_versionPsr$ZsinZcosZtanZsinhZcoshZtanhZfabsZfloorZceilZsqrtZlog10logZexpZasinZacosZatanZfmodZmodfZfrexpZldexpZexpm1Zlog1pZacoshZasinhZatanhZrintZtruncZexp2Zlog2ZhypotZatan2powZcopysignZ	nextafterZftelloZfseekoZstrtollZstrtoullZcbrtZ	strtold_lZ	fallocateZ	backtracezxmmintrin.hzemmintrin.hz
features.hz	xlocale.hzdlfcn.h)Z__builtin_isnanz5.)Z__builtin_isinfz5.)Z__builtin_isfinitez5.)Z__builtin_bswap325u)Z__builtin_bswap64r')Z__builtin_expectz5, 0)Z__builtin_mul_overflowz
5, 5, (int*)5)z'volatile int r = __builtin_cpu_supportsz"sse"zstdio.hZ__BUILTIN_CPU_SUPPORTS)Z
_m_from_int640zemmintrin.h)Z_mm_load_psz	(float*)0zxmmintrin.h)Z_mm_prefetchz(float*)0, _MM_HINT_NTAzxmmintrin.h)Z_mm_load_pdz
(double*)0zemmintrin.h)Z__builtin_prefetchz(float*)0, 0, 3)z__asm__ volatilez"vpand %xmm1, %xmm2, %xmm3"zstdio.hZLINK_AVX)z__asm__ volatilez"vpand %ymm1, %ymm2, %ymm3"zstdio.hZ	LINK_AVX2)z)__attribute__((optimize("unroll-loops")))Zattribute_optimize_unroll_loops)z__attribute__((optimize("O3")))Zattribute_optimize_opt_3)z__attribute__((nonnull (1)))Zattribute_nonnull)z__attribute__((target ("avx")))Zattribute_target_avx)z __attribute__((target ("avx2")))Zattribute_target_avx2Z__threadz__declspec(thread)cCsg|]}|dqS)fr).0r)rrr
<listcomp>sr+cCsg|]}|dqS)lr)r*r)rrrr+szcomplex doublez
complex floatzcomplex long doubleZcabsZcacosZcacoshZcargZcasinZcasinhZcatanZcatanhZccosZccoshZcexpZcimagZclogZconjZcpowZcprojZcrealZcsinZcsinhZcsqrtZctanZctanhcCsd|S)NzHAVE_%s)upper)namerrr	fname2defsr/cCs|dd}|S)N )replacer-)symboldefinerrrsym2defsr5cCs|dd}|S)Nr0_)r2r-)r3r4rrrtype2defsr7c	Cs|tddi}tjdkrPtsPy|jjdWntt	fk
rNYnX|
|ddd\}}zzytt|}|St	k
r|
dd}|d7}|
|ddd\}}|jd	|j|gd	ttd	}|SXWd|XdS)
Ntypezlong doubleZwin32z/GLcstructzvolatile structzint main(void) { return 0; }
Z_configtest)Z_check_compilerLONG_DOUBLE_REPRESENTATION_SRCrplatformrZcompilerZcompile_optionsremoveAttributeErrorr_compilelong_double_representationpyodr2Z
temp_filesappendZlink_executableZ_clean)cmdZbodysrcobjZltyperrr check_long_double_representations(
rFaA
/* "before" is 16 bytes to ensure there's no padding between it and "x".
 *    We're not expecting any "long double" bigger than 16 bytes or with
 *       alignment requirements stricter than 16 bytes.  */
typedef %(type)s test_type;

struct {
        char         before[16];
        test_type    x;
        char         after[8];
} foo = {
        { '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
          '\001', '\043', '\105', '\147', '\211', '\253', '\315', '\357' },
        -123456789.0,
        { '\376', '\334', '\272', '\230', '\166', '\124', '\062', '\020' }
};
cs6fdd}fdd}tjddkr,|S|SdS)aPython implementation of the od UNIX utility (od -b, more exactly).

    Parameters
    ----------
    filename : str
        name of the file to get the dump from.

    Returns
    -------
    out : seq
        list of lines of od output

    Note
    ----
    We only implement enough to get the necessary information for long double
    representation, this is not intended as a compatible replacement for od.
    csg}td}zrdd|D}xZtdt|dD]F}dtt|g}|dd|||dD|d|q4W|S|	XdS)	NrbcSs$g|]}tttt|dqS))intoctbinasciiZb2a_hex)r*orrrr+sz(pyod.<locals>._pyod2.<locals>.<listcomp>rrHz%07dcSsg|]}d|qS)z%03dr)r*r9rrrr+sr0)
openreadrangerrIrJextendrBjoinclose)outfidZyoiline)filenamerr_pyod2s
 zpyod.<locals>._pyod2csg}td}zzdd|D}xbtdt|dD]N}dtt|ddg}|dd|||dD|d	|q4W|S|	XdS)
NrGcSsg|]}t|ddqS)rN)rJ)r*rLrrrr+#sz(pyod.<locals>._pyod3.<locals>.<listcomp>rrHz%07drcSsg|]}dt|qS)z%03d)rI)r*r9rrrr+&sr0)
rMrNrOrrIrJrPrBrQrR)rSrTZyo2rUrV)rWrr_pyod3s
 zpyod.<locals>._pyod3rrN)rversion_info)rWrXrYr)rWrrAs
rAZ000Z001Z043Z105Z147Z211Z253Z315Z357Z376Z334Z272Z230Z166Z124Z062Z020Z301Z235Z157Z064Z240Z242Z171Z353Z031Z300Z326Z363Z100cCsdgd}d}x\|D]R}xJ|ddD]4}|d|||ddtkr0t|}|ddtddkr|ddtkrd	S|ddtkrd
Sq0|ddtddkr,|ddtkrdS|ddt	krd
S|ddt
krdS|ddtkrdS|ddtkrfdSq0|ddtkr0|ddt
krRdS|ddtkr0dSq0WqW|dk	rtd|ntd|dS)zSGiven a binary dump as given by GNU od -b, look for long double
    representation.r1 NriZINTEL_EXTENDED_12_BYTES_LEZMOTOROLA_EXTENDED_12_BYTES_BEr\ZINTEL_EXTENDED_16_BYTES_LEZIEEE_QUAD_BEZIEEE_QUAD_LEZDOUBLE_DOUBLE_BEZDOUBLE_DOUBLE_LErHZIEEE_DOUBLE_LEZIEEE_DOUBLE_BEzUnrecognized format (%s)zCould not lock sequences (%s))splitpoprB
_AFTER_SEQcopy_BEFORE_SEQ_INTEL_EXTENDED_12B_MOTOROLA_EXTENDED_12B_INTEL_EXTENDED_16B_IEEE_QUAD_PREC_BE_IEEE_QUAD_PREC_LE_DOUBLE_DOUBLE_BE_DOUBLE_DOUBLE_LE_IEEE_DOUBLE_LE_IEEE_DOUBLE_BEr)linesrNZsawrVwrrrr@Es@




r@)/Z
__future__rrrrr rdrKZnumpy.distutils.misc_utilrZ
C_ABI_VERSIONZ
C_API_VERSIONWarningrrrr$ZMANDATORY_FUNCSZOPTIONAL_STDFUNCSZOPTIONAL_HEADERSZOPTIONAL_INTRINSICSZOPTIONAL_FUNCTION_ATTRIBUTESZOPTIONAL_VARIABLE_ATTRIBUTESZOPTIONAL_STDFUNCS_MAYBEZ	C99_FUNCSZC99_FUNCS_SINGLEZC99_FUNCS_EXTENDEDZC99_COMPLEX_TYPESZC99_COMPLEX_FUNCSr/r5r7rFr;rArercrnrmrfrhrgrirjrkrlr@rrrr<module>s


/3