mirror of
https://github.com/orhun/git-cliff.git
synced 2024-10-03 18:27:14 +03:00
chore(pypi): update maturin version (#539)
* chore(pypi): add .gitignore for python wheel build * chore(pypi): move maturin package metadata to pyproject.toml use of `[package.metadata.maturin.name]` is deprecated and warned against: `Warning: specify [package.metadata.maturin] name in Cargo.toml is deprecated, use module-name in [tool.maturin] section in pyproject.toml instead` * chore(pypi): update maturin version the previously pinned version was way too specific and maturin has since had a 1.0 release -- so let's just stick with that.
This commit is contained in:
parent
773a9a0c6a
commit
10b7ab829f
@ -57,9 +57,6 @@ pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ version }-{ target
|
||||
bin-dir = "{ name }-{ version }/{ bin }{ binary-ext }"
|
||||
pkg-fmt = "tgz"
|
||||
|
||||
[package.metadata.maturin]
|
||||
name = "git-cliff"
|
||||
|
||||
[package.metadata.generate-rpm]
|
||||
assets = [
|
||||
{ source = "target/release/git-cliff", dest = "/usr/bin/git-cliff", mode = "755" },
|
||||
|
5
pypi/.gitignore
vendored
Normal file
5
pypi/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# venv dir which might be present during testing
|
||||
.venv
|
||||
|
||||
# where the build artifacts go
|
||||
wheels
|
@ -1,5 +1,5 @@
|
||||
[build-system]
|
||||
requires = ["maturin>=0.14,<0.15"]
|
||||
requires = ["maturin>=1.5,<2"]
|
||||
build-backend = "maturin"
|
||||
|
||||
[project]
|
||||
@ -15,4 +15,5 @@ classifiers = [
|
||||
|
||||
[tool.maturin]
|
||||
bindings = "bin"
|
||||
manifest-path = "../git-cliff/Cargo.toml"
|
||||
manifest-path = "../git-cliff/Cargo.toml"
|
||||
module-name = "git-cliff"
|
||||
|
Loading…
Reference in New Issue
Block a user