-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
32 lines (26 loc) · 1002 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
30
31
[tool.cibuildwheel]
skip = "*-musllinux*"
test-requires = ["pytest", "requests", "matplotlib"]
test-command = [
"pytest {project}/tests"
]
# can not be tested, see discussion in https://github.com/pypa/cibuildwheel/pull/1169 for details
test-skip = "cp38-macosx_*:arm64"
[tool.cibuildwheel.linux]
before-build = """
yum install -y curl zip unzip tar
yum install -y perl-IPC-Cmd
yum install -y ninja-build
git clone https://github.com/microsoft/vcpkg
./vcpkg/bootstrap-vcpkg.sh
"""
environment = { VCPKG_INSTALLATION_ROOT = "{project}/vcpkg" }
[tool.cibuildwheel.windows]
before-build = """
cd C:\\
git clone https://github.com/microsoft/vcpkg
.\\vcpkg\\bootstrap-vcpkg.bat
"""
environment = { VCPKG_INSTALLATION_ROOT = "C:\\vcpkg" }
[tool.cibuildwheel.macos]
environment = {VCPKG_INSTALLATION_ROOT="/Users/runner/work/build-wheels/build-wheels/vcpkg"}