-
Notifications
You must be signed in to change notification settings - Fork 270
/
pyproject.toml
23 lines (20 loc) · 1.08 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
[build-system]
requires = [
"setuptools>=59.6.0",
"wheel>=0.36.2",
'pybind11>=2.13; python_version>="3.9"',
'pybind11<=2.12; python_version<="3.8"',
# Building with NumPy 2 allows backwards compatibility with NumPy 1:
'numpy>=2.1.0rc1; python_version>="3.13"',
'numpy>=2; python_version>="3.9" and python_version<"3.13"',
'numpy<2; python_version<="3.8"',
]
build-backend = "setuptools.build_meta"
# See: https://cibuildwheel.readthedocs.io/en/stable/options/#examples
[tool.cibuildwheel.linux]
before-all = "yum install -y libsndfile libX11-devel libXrandr-devel libXinerama-devel libXrender-devel libXcomposite-devel libXinerama-devel libXcursor-devel freetype-devel alsa-lib-devel"
[[tool.cibuildwheel.overrides]]
# Use apk instead of yum when building on Alpine Linux
# (Note: this is experimental, as most VSTs require glibc and thus Alpine Linux isn't that useful)
select = "*-musllinux*"
before-all = "apk add libsndfile libx11-dev libxrandr-dev libxinerama-dev libxrender-dev libxcomposite-dev libxinerama-dev libxcursor-dev freetype-dev libexecinfo-dev alsa-lib-dev"