spotify / pedalboard

🎛 🔊 A Python library for audio.
https://spotify.github.io/pedalboard
GNU General Public License v3.0
4.96k stars 249 forks source link

Question: Is it possible to make the universal (x86_64 + arm64) binary for macOS? #308

Open Gdalik opened 3 months ago

Gdalik commented 3 months ago

Hi!

It would be cool if you added the 'fat' binaries... I can build my app natively both for Intel and for Silicon with PyInstaller on the corresponding machines. This is not very comfortable, since I own only the Mac mini with Intel processor... It seems impossible to force it to make an arm64 build on x86_64 machine, but has the universal2 mode, which requires the support of universal binaries for all the app dependencies. Currently, when trying to make a universal build, it gives out:

PyInstaller.utils.osx.IncompatibleBinaryArchError: /Users/gdaliymac/Desktop/EarQuiz Frequencies/venv_py3.11/lib/python3.11/site-packages/pedalboard_native.cpython-311-darwin.so is not a fat binary!

Thanks!

Gdalik commented 3 months ago

UPD: I see that you have them in version 0.9.3, but they are available starting from macOS 13 (Ventura)... The problem is that I have macOS 12 Monterey and cannot install it...