diff --git a/Makefile b/Makefile index 73ee2907..afa4b41e 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ setup: $(shell "${PROTOBUF_SETUP}") $(shell "${OPENSSL_SETUP}") which cargo || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - which maturin || pip install maturin + which maturin || pip install maturin[patchelf] publish: maturin publish @@ -32,7 +32,7 @@ test-python: pytest -vs tests/python rm -rf tests/work/* -test-rust: test-rust-clean test-rust-setup +test-rust: cargo test -- --nocapture rm -rf tests/work/* diff --git a/README.md b/README.md index 4d1d4c9a..796fb1cc 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,12 @@ make test You can choose to run just the Python or Rust tests by calling `make test-python` or `make test-rust` respectively. +## Contributing + +Before committing, use the following command +```shell +make style +``` ## Citation diff --git a/pyproject.toml b/pyproject.toml index c08d6e59..d78c1598 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,7 +107,7 @@ dev = [ ] [build-system] requires = [ - "maturin>=1.1,<2.0", + "maturin[patchelf]>=1.1,<2.0", "setuptools >= 61.0.0", "wheel" ]