-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (50 loc) · 1.51 KB
/
pyproject.toml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[build-system]
build-backend = 'mesonpy'
requires = ['meson-python', 'setuptools_scm >= 8']
[project]
name = 'pycorrfunc'
description = 'A pythonic rewrite of the Corrfunc software infrastructure'
authors = [
{name = 'Lehman Garrison', email = '[email protected]'},
{name = 'Peter McMaster', email = '[email protected]'},
]
dependencies = [
'numpy',
'astropy >= 5.3.3',
]
license = { file = "LICENSE" }
requires-python = ">= 3.9"
dynamic = ["version"]
readme = "README.md"
[tool.setuptools_scm]
[dependency-groups]
dev = ["pre-commit", {include-group = "test"}]
test = ["pytest"]
[tool.meson-python]
# This determines the wheel tag.
# It is automatically reverted to false if the build uses `python.allow_limited_api=false`.
limited-api = true
[tool.meson-python.args]
compile = ["-v"]
# setup = ["-Dbuildtype=debug"]
[tool.ruff.format]
quote-style = "single"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.cibuildwheel]
archs = "auto64"
build-frontend = "build[uv]"
build-verbosity = 1
manylinux-x86_64-image = "manylinux_2_28"
skip = "pp* *-musllinux_*"
test-command = "pytest -s {project}/tests"
test-groups = "test"
[tool.cibuildwheel.linux]
repair-wheel-command = [
"auditwheel repair -w {dest_dir} {wheel}",
# run abi3audit on wheels tagged with abi3
'case "$(basename {wheel})" in *"-abi3-"*) pip install -U abi3audit && abi3audit --strict --report {wheel};; esac',
]
[[tool.cibuildwheel.overrides]]
select = "cp{312,313}-*"
config-settings = "setup-args=-Dpython.allow_limited_api=true"