From 5378c856974a6d899b5a1cbc4698a9c714bd69bd Mon Sep 17 00:00:00 2001 From: Charles Marsh Date: Wed, 10 Aug 2022 19:29:25 -0400 Subject: [PATCH] Minor fixes to Maturin packaging --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 3 ++- pyproject.toml | 3 +++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8d13e944cb..16cc9e9b8a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1493,7 +1493,7 @@ dependencies = [ [[package]] name = "rust-python-linter" -version = "0.0.1" +version = "0.0.4" dependencies = [ "anyhow", "bincode", diff --git a/Cargo.toml b/Cargo.toml index 3b9a9b3365..e63b258651 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust-python-linter" -version = "0.0.1" +version = "0.0.4" edition = "2021" [lib] diff --git a/README.md b/README.md index 0557c4b40f..f12cb0d33d 100644 --- a/README.md +++ b/README.md @@ -52,5 +52,6 @@ cargo run resources/test/src `rust-python-linter` is released for Python using [`maturin`](https://github.com/PyO3/maturin): ```shell -maturin publish +maturin publish --skip-existing --target x86_64-apple-darwin +maturin publish --skip-existing --target aarch64-apple-darwin ``` diff --git a/pyproject.toml b/pyproject.toml index 5d44682cdc..7854959cec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,6 @@ [build-system] requires = ["maturin>=0.13,<0.14"] build-backend = "maturin" + +[tool.maturin] +bindings = "bin"