Fix sdist include formatting for maturin

This commit is contained in:
Devon Hudson 2026-01-07 10:08:03 -07:00
parent 16bc8c78ba
commit 13dff90b5b
No known key found for this signature in database
GPG key ID: CD06B18E77F6A628

View file

@ -415,20 +415,22 @@ line-ending = "auto"
manifest-path = "rust/Cargo.toml"
module-name = "synapse.synapse_rust"
python-source = "."
sdist-include = [
include = [
"AUTHORS.rst",
"book.toml",
"changelog.d",
"changelog.d/**/*",
"CHANGES.md",
"CONTRIBUTING.md",
"demo",
"docs",
"demo/**/*",
"docs/**/*",
"INSTALL.md",
"LICENSE-AGPL-3.0",
"LICENSE-COMMERCIAL",
"mypy.ini",
"scripts-dev",
"synmark",
"scripts-dev/**/*",
"synmark/**/*",
"sytest-blacklist",
"tests",
"tests/**/*",
"UPGRADE.rst",
"Cargo.toml",
"Cargo.lock",
@ -436,7 +438,7 @@ sdist-include = [
"rust/build.rs",
"rust/src/**",
]
sdist-exclude = ["synapse/*.so"]
exclude = ["synapse/*.so"]
[build-system]
# The upper bounds here are defensive, intended to prevent situations like