forked from ashvardanian/SimSIMD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
42 lines (36 loc) · 1.14 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
[build-system]
requires = ["setuptools>=42", "wheel", "numpy"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = ["error"]
[tool.cibuildwheel]
test-requires = ["pytest", "pytest-repeat", "scipy"]
test-command = "pytest {project}/python/test.py -s -x"
build-verbosity = 0
skip = ["*musllinux*", "*i686*", "pp*", "cp36-*", "cp37-*"]
[tool.cibuildwheel.linux]
before-build = [
"rm -rf {project}/build",
]
manylinux-x86_64-image = "manylinux_2_28"
manylinux-aarch64-image = "manylinux_2_28"
archs = ["x86_64", "aarch64"]
before-all = [
"yum install -y glibc-devel wget python3-devel"
]
repair-wheel-command = "auditwheel repair --lib-sdir . -w {dest_dir} {wheel}"
[tool.cibuildwheel.macos]
before-build = [
"rm -rf {project}/build",
]
archs = ["x86_64", "arm64"]
repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
[tool.cibuildwheel.windows]
before-build = [
"rd /s /q {project}\\build || echo Done",
]
archs = ["x86", "AMD64"]
skip = ["*win32*", "pp*"]