Minor fixes to Maturin packaging

This commit is contained in:
Charles Marsh 2022-08-10 19:29:25 -04:00
parent 201ccc83b1
commit 5378c85697
4 changed files with 7 additions and 3 deletions

2
Cargo.lock generated
View File

@ -1493,7 +1493,7 @@ dependencies = [
[[package]] [[package]]
name = "rust-python-linter" name = "rust-python-linter"
version = "0.0.1" version = "0.0.4"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bincode", "bincode",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rust-python-linter" name = "rust-python-linter"
version = "0.0.1" version = "0.0.4"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -52,5 +52,6 @@ cargo run resources/test/src
`rust-python-linter` is released for Python using [`maturin`](https://github.com/PyO3/maturin): `rust-python-linter` is released for Python using [`maturin`](https://github.com/PyO3/maturin):
```shell ```shell
maturin publish maturin publish --skip-existing --target x86_64-apple-darwin
maturin publish --skip-existing --target aarch64-apple-darwin
``` ```

View File

@ -1,3 +1,6 @@
[build-system] [build-system]
requires = ["maturin>=0.13,<0.14"] requires = ["maturin>=0.13,<0.14"]
build-backend = "maturin" build-backend = "maturin"
[tool.maturin]
bindings = "bin"