Skip to content

Commit 5cdbd78

Browse files
committed
fix(build): use free-text license format in Rust package metadata
The bare string `license = "Apache-2.0 WITH Commons-Clause-1.0"` is rejected by PyPI as an invalid SPDX expression. Switch to the table form `license = {text = "..."}` to bypass SPDX validation.
1 parent f27425e commit 5cdbd78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "maturin"
66
name = "vectorbt-rust"
77
version = "1.0.0"
88
description = "Rust-accelerated kernels for vectorbt"
9-
license = "Apache-2.0 WITH Commons-Clause-1.0"
9+
license = {text = "Apache-2.0 WITH Commons-Clause-1.0"}
1010
authors = [
1111
{name = "Oleg Polakow", email = "olegpolakow@vectorbt.pro"}
1212
]

0 commit comments

Comments
 (0)