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"]