pyo3/test.sh

7 lines
162 B
Bash
Executable File

#!/bin/bash
set -xeu
cargo build
rustc testmodule.rs -L target -L target/deps -o testmodule.so
python -c "import testmodule; print(repr(testmodule.__author__))"