From 66b1daa6797e6385a292fe00de7d1a5537be29ea Mon Sep 17 00:00:00 2001 From: Devon Hudson Date: Wed, 7 Jan 2026 15:23:00 -0700 Subject: [PATCH] Limit maturin includes to sdist packaging --- pyproject.toml | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 960d7891a8..93c70256eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -416,27 +416,27 @@ manifest-path = "rust/Cargo.toml" module-name = "synapse.synapse_rust" python-source = "." include = [ - "AUTHORS.rst", - "book.toml", - "changelog.d/**/*", - "CHANGES.md", - "CONTRIBUTING.md", - "demo/**/*", - "docs/**/*", - "INSTALL.md", - "LICENSE-AGPL-3.0", - "LICENSE-COMMERCIAL", - "mypy.ini", - "scripts-dev/**/*", - "synmark/**/*", - "sytest-blacklist", - "tests/**/*", - "UPGRADE.rst", - "Cargo.toml", - "Cargo.lock", - "rust/Cargo.toml", - "rust/build.rs", - "rust/src/**", + { path = "AUTHORS.rst", format = "sdist" }, + { path = "book.toml", format = "sdist" }, + { path = "changelog.d/**/*", format = "sdist" }, + { path = "CHANGES.md", format = "sdist" }, + { path = "CONTRIBUTING.md", format = "sdist" }, + { path = "demo/**/*", format = "sdist" }, + { path = "docs/**/*", format = "sdist" }, + { path = "INSTALL.md", format = "sdist" }, + { path = "LICENSE-AGPL-3.0", format = "sdist" }, + { path = "LICENSE-COMMERCIAL", format = "sdist" }, + { path = "mypy.ini", format = "sdist" }, + { path = "scripts-dev/**/*", format = "sdist" }, + { path = "synmark/**/*", format = "sdist" }, + { path = "sytest-blacklist", format = "sdist" }, + { path = "tests/**/*", format = "sdist" }, + { path = "UPGRADE.rst", format = "sdist" }, + { path = "Cargo.toml", format = "sdist" }, + { path = "Cargo.lock", format = "sdist" }, + { path = "rust/Cargo.toml", format = "sdist" }, + { path = "rust/build.rs", format = "sdist" }, + { path = "rust/src/**", format = "sdist" }, ] exclude = ["synapse/*.so"]