/
pyproject.toml
29 lines (26 loc) · 972 Bytes
/
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
[tool.cibuildwheel]
build = "cp3*"
skip = ["cp36-*", "cp37-*", "*-musllinux*"]
manylinux-aarch64-image = "manylinux_2_28"
manylinux-x86_64-image = "manylinux_2_28"
build-frontend = "build"
build-verbosity = 1
test-command = "pytest -v -rs {project}/tests"
[tool.cibuildwheel.linux]
archs = ["x86_64", "aarch64"]
before-all = "yum install -y libcurl-devel openssl-devel"
before-test = [
"pip install flake8 -r requirements-dev.txt",
"make -C {package}/tests/fake-curl/libcurl",
]
test-command = "pytest -v -rs {project}/tests -k \"not test_keyfunction\""
[tool.cibuildwheel.macos]
archs = ["all"]
environment = "PYCURL_CURL_CONFIG=/usr/bin/curl-config PYCURL_SSL_LIBRARY=sectransp"
before-test = [
"pip install flake8 -r requirements-dev.txt",
"CFLAGS=\"-arch x86_64 -arch arm64\" make -C {package}/tests/fake-curl/libcurl",
]
[tool.cibuildwheel.windows]
before-build = "pip install delvewheel"
before-test = "pip install flake8 -r requirements-dev.txt"