Skip to content

πŸŽ› πŸ”Š A Python library for audio.

Update pyproject.toml

Peter Sobot1e2f863299bb
diff --git a/pyproject.toml b/pyproject.toml
index f6ab9ec..cfe02b6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,3 +6,12 @@ requires = [
]
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"
+
+[[tool.cibuildwheel.overrides]]
+// Use apk instead of yum when building on Alpine Linux
+select = "*-musllinux*"
+before-all = "apk add libsndfile libX11-devel libXrandr-devel libXinerama-devel libXrender-devel libXcomposite-devel libXinerama-devel libXcursor-devel freetype-devel"