- Install maturin: https://www.maturin.rs/
- Create a virtualenv
- Run:
maturin develop
- To build universal2 binary on Mac:
source scripts/mac-universal2-env.sh
- To build a wheel:
maturin build
maturin develop
source scripts/mac-universal2-env.sh
maturin build