Skip to content

Commit e192f36

Browse files
committed
feat: add cibuildwheel config to pyproject.toml
Signed-off-by: Christopher Arndt <[email protected]>
1 parent 365ca64 commit e192f36

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

pyproject.toml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,39 @@ match_dir = '(src|rtmidi)'
7777
add_ignore = [
7878
"D412"
7979
]
80+
81+
[tool.cibuildwheel]
82+
# Switch to using build
83+
build-frontend = "build"
84+
skip = "pp*"
85+
manylinux-x86_64-image = "manylinux_2_28"
86+
manylinux-aarch64-image = "manylinux_2_28"
87+
88+
# Install system library
89+
[tool.cibuildwheel.linux]
90+
build = "cp3{8,9,10,11}-manylinux*"
91+
archs = ["auto64"]
92+
before-all = [
93+
"yum install -y alsa-lib-devel alsa-utils",
94+
"pipx install ninja",
95+
"curl -o jack2-1.9.21.tar.gz https://codeload.github.com/jackaudio/jack2/tar.gz/refs/tags/v1.9.21",
96+
"tar -xzf jack2-1.9.21.tar.gz",
97+
"cd jack2-1.9.21",
98+
"python3 waf configure --prefix=/usr --autostart=none --classic",
99+
"python3 waf build",
100+
"python3 waf install",
101+
]
102+
103+
[tool.cibuildwheel.macos]
104+
build = "cp3{8,9,10,11}-macosx*"
105+
archs = ["universal2"]
106+
before-all = [
107+
"pipx install ninja",
108+
]
109+
110+
[tool.cibuildwheel.windows]
111+
build = "cp3{8,9,10,11}-win*"
112+
archs = ["auto"]
113+
before-all = [
114+
"pipx install ninja",
115+
]

0 commit comments

Comments
 (0)