forked from impy-project/chromo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
44 lines (39 loc) · 1.19 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
[build-system]
requires = [
"packaging",
"setuptools",
"wheel",
"cmake",
"numpy==1.23.5",
"charset_normalizer"
]
#build-backend = "setuptools.build_meta"
[tool.mypy]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-q -ra --ff -n auto"
testpaths = ["tests"]
filterwarnings = [
"error::numpy.VisibleDeprecationWarning",
"error::DeprecationWarning",
]
[tool.cibuildwheel]
# update skip when numpy wheels become available
skip = ["*-musllinux_*", "cp310-win32", "cp310-manylinux_i686"]
test-extras = ["test"]
test-command = "python {package}/download_data.py && python -m pytest -vv {package}/tests"
test-skip = ["*_arm64"]
# to match numpy, we use manylinux2014 for cp310+
manylinux-x86_64-image = "manylinux2014"
manylinux-i686-image = "manylinux2014"
# Increase the output of pip wheel to -vvv
build-verbosity = 3
[tool.cibuildwheel.environment]
# this makes sure that we build only on platforms that have a corresponding numpy wheel
PIP_ONLY_BINARY = ":all:"
[[tool.cibuildwheel.overrides]]
# to match numpy, we use manylinux2010 for cp36 to cp39
select = "cp3?-*"
manylinux-x86_64-image = "manylinux2010"
manylinux-i686-image = "manylinux2010"