I am just fumbling around with Rust so that this seems to work is as much dumb luck as anything that means I know what I'm doing, but I was able to run the test program from the README with these changes on MacOS. There may be a better way.
The crate changes to src/python.rs I think I required no matter what - without them, running
cargo build --lib --release --features "python-library"
fails on Linux (Ubuntu 18.04 VM) and MacOS
Reasonable (but not the python library) does build without these changes - if I just do a 'make build' I get an executable at the end in the target/release directory.
@epaulson I think I got Actions working for builds; when you get a chance, can you try doing pip install reasonable==0.1.24 and see if that works for you on your Mac?
I am just fumbling around with Rust so that this seems to work is as much dumb luck as anything that means I know what I'm doing, but I was able to run the test program from the README with these changes on MacOS. There may be a better way.
The crate changes to src/python.rs I think I required no matter what - without them, running
cargo build --lib --release --features "python-library"
fails on Linux (Ubuntu 18.04 VM) and MacOSThe addition to .cargo/config comes straight from the manual at https://pyo3.rs/v0.12.1/
I did not try anything with maturin so for all I know this blows all the pypi & wheel stuff up completely.
I'm on the nightly toolchain
Reasonable (but not the python library) does build without these changes - if I just do a 'make build' I get an executable at the end in the target/release directory.