-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathmeson.build
More file actions
39 lines (35 loc) · 1.15 KB
/
meson.build
File metadata and controls
39 lines (35 loc) · 1.15 KB
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
34
35
36
37
38
39
project(
'array-api-extra',
version: '0.10.2.dev0'
)
py = import('python').find_installation()
# NOTE: downstream projects may rely on this variable name when vendoring,
# do not change it without consulting with downstream projects
sources = {
'array_api_extra': files(
'src/array_api_extra/__init__.py',
'src/array_api_extra/_delegation.py',
'src/array_api_extra/testing.py',
),
'array_api_extra/_lib': files(
'src/array_api_extra/_lib/__init__.py',
'src/array_api_extra/_lib/_at.py',
'src/array_api_extra/_lib/_backends.py',
'src/array_api_extra/_lib/_funcs.py',
'src/array_api_extra/_lib/_lazy.py',
'src/array_api_extra/_lib/_testing.py',
),
'array_api_extra/_lib/_utils': files(
'src/array_api_extra/_lib/_utils/__init__.py',
'src/array_api_extra/_lib/_utils/_compat.py',
'src/array_api_extra/_lib/_utils/_compat.pyi',
'src/array_api_extra/_lib/_utils/_helpers.py',
'src/array_api_extra/_lib/_utils/_typing.py',
'src/array_api_extra/_lib/_utils/_typing.pyi',
),
}
foreach subdir, files : sources
py.install_sources(files, subdir: subdir)
endforeach
subdir('tests')
subdir('vendor_tests')