summaryrefslogtreecommitdiff
path: root/numpy/fft/meson.build
blob: fedbf6349d79506e4c65cb1468ca344a01b8961a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
largefile_define = []
if host_machine.system() == 'aix' or host_machine.system() == 'AIX'
  largefile_define += '-D_LARGE_FILES'
endif

py.extension_module('_pocketfft_internal',
  '_pocketfft.c',
  c_args: largefile_define,
  dependencies: np_core_dep,
  install: true,
  subdir: 'numpy/fft',
)

py.install_sources(
  [
    '__init__.py',
    '__init__.pyi',
    '_pocketfft.py',
    '_pocketfft.pyi',
    'helper.py',
    'helper.pyi',
  ],
  subdir: 'numpy/fft'
)

py.install_sources(
  [
    'tests/__init__.py',
    'tests/test_helper.py',
    'tests/test_pocketfft.py',
  ],
  subdir: 'numpy/fft/tests'
)