forked from alexlancaster/pypop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
28 lines (23 loc) · 1.04 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
[tool.cibuildwheel]
skip = ["*-win32", "*_i686", "*-musllinux_*", "pp37-win_*", "pp310*"] # skip 32-bit builds and musllinux
test-extras = ["test"]
test-command = "pytest -s -v {package}/tests"
[tool.cibuildwheel.linux]
# for CentOS-based runners, local cibuildwheel docker
before-all="yum install -y swig gsl-devel"
# GitHub runners use Ubuntu
#before-all="apt install swig libgsl-dev"
[tool.cibuildwheel.macos]
before-all = "brew install swig gsl"
# FIXME: on MacOS, cibuildwheel team suggests building these from
# source within the container, rather than using 'brew'
[tool.cibuildwheel.windows]
# use nuget to install gsl on Windows, and manually supply paths
before-all = "nuget install gsl-msvc14-x64 -Version 2.3.0.2779"
environment = { CPATH="gsl-msvc14-x64.2.3.0.2779\\\\build\\\\native", LIBRARY_PATH="gsl-msvc14-x64.2.3.0.2779\\\\build\\\\native\\\\static" }
[build-system]
build-backend = "setuptools.build_meta:__legacy__"
requires = ["setuptools>=42",
"setuptools_scm[toml]>=6.2",
"importlib-metadata; python_version <= '3.8'"
]