2021-09-25 10:40:12 +03:00
|
|
|
[build-system]
|
|
|
|
# Minimum requirements for the build system to execute.
|
2024-02-21 20:54:17 +03:00
|
|
|
requires = ["setuptools", "wheel", "ninja", "cmake"] # PEP 508 specifications.
|
2023-11-28 02:39:52 +03:00
|
|
|
build-backend = "backend"
|
|
|
|
backend-path = [".pyproject"]
|
2022-11-24 00:40:56 +03:00
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
line-length = 120
|
2023-04-12 05:52:55 +03:00
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
line-length = 120
|
2023-07-21 00:16:08 +03:00
|
|
|
|
2023-09-21 20:59:12 +03:00
|
|
|
[tool.cibuildwheel]
|
|
|
|
# Note: the below skip command doesn't do much currently, the platforms to
|
|
|
|
# build wheels for in CI are controlled in `wheels_linux` and `wheels_macos.yml`.
|
|
|
|
skip = "cp36-* cp37-* pp37-* *-manylinux_i686 *_ppc64le *_s390x *-musllinux_aarch64"
|
|
|
|
build-verbosity = "3"
|
|
|
|
|
2023-07-21 00:16:08 +03:00
|
|
|
[[tool.cibuildwheel.overrides]]
|
|
|
|
select = "*-manylinux*x86_64*"
|
|
|
|
before-all = "./tools/install_deps.sh many64"
|
2023-08-03 03:01:09 +03:00
|
|
|
test-command = "{project}/tools/test_cibuildwheel.sh {project}"
|
2023-07-21 00:16:08 +03:00
|
|
|
|
|
|
|
[[tool.cibuildwheel.overrides]]
|
|
|
|
select = "*-manylinux*i686*"
|
|
|
|
before-all = "./tools/install_deps.sh many86"
|
|
|
|
|
|
|
|
[[tool.cibuildwheel.overrides]]
|
|
|
|
select = "*-musllinux*"
|
|
|
|
before-all = "./tools/install_deps.sh musl"
|
|
|
|
|
|
|
|
[[tool.cibuildwheel.overrides]]
|
|
|
|
select = "*win*"
|
|
|
|
before-build = "tools\\install_deps.bat install"
|
2023-08-03 03:01:09 +03:00
|
|
|
test-command = "{project}\\tools\\test_cibuildwheel.bat {project}"
|