-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
29 lines (24 loc) · 984 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
[build-system]
requires = ["setuptools>=42",
"wheel"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
minversion = "6.0"
# addopts = "-ra -q"
testpaths = ["test",]
[tool.cibuildwheel]
build-verbosity = 3
test-requires = "pytest"
test-command = "pytest {project}/test"
[tool.cibuildwheel.linux]
build = "*manylinux*"
manylinux-x86_64-image = "manylinux_2_28"
manylinux-i686-image = "manylinux2014"
before-all = "bash scripts/linux_before_all.sh"
[tool.cibuildwheel.macos]
archs = "x86_64 arm64"
# Compare these environment variables to https://github.com/apertium/packaging/blob/main/osx-pre.sh
environment = { CXXFLAGS="-std=gnu++11 -stdlib=libc++", LDFLAGS="-stdlib=libc++ -L/usr/local/lib", MACOSX_DEPLOYMENT_TARGET="10.9", SDK_VERSION="10.9" }
before-all = "bash scripts/macos_before_all.sh"
[tool.cibuildwheel.windows]
before-all = "C:\\msys64\\msys2_shell.cmd -mingw64 -defterm -here -full-path -no-start -shell bash scripts/win_before_all.sh"