diff --git a/pyproject.toml b/pyproject.toml index ea512c5656..0a3dd0cf5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -438,7 +438,9 @@ include = [ { path = "rust/build.rs", format = "sdist" }, { path = "rust/src/**", format = "sdist" }, ] -exclude = ["synapse/*.so"] +exclude = [ + { path = "synapse/*.so", format = "sdist" }, +] [build-system] # The upper bounds here are defensive, intended to prevent situations like