summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-09-22 11:59:23 +0100
committerGitHub <noreply@github.com>2022-09-22 11:59:23 +0100
commit9615e23c290dc93136805661320ff267b2a7432c (patch)
treeffde26871ad2365601d494daf738061c96231b0b
parentFix the release script not publishing binary wheels. (#13850) (diff)
downloadsynapse-9615e23c290dc93136805661320ff267b2a7432c.tar.xz
Fix sdist to include rust build script (#13866)
* Fix sdist to include rust build script

Fixes #13851

* Newsfile
-rw-r--r--changelog.d/13866.bugfix1
-rw-r--r--pyproject.toml1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/13866.bugfix b/changelog.d/13866.bugfix
new file mode 100644
index 0000000000..8630d3b22f
--- /dev/null
+++ b/changelog.d/13866.bugfix
@@ -0,0 +1 @@
+Fix building from packaged sdist. Broke in v1.68.0rc1.
diff --git a/pyproject.toml b/pyproject.toml
index 43f165b8d0..815cf4751e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -88,6 +88,7 @@ include = [
     { path = "Cargo.toml", format = "sdist" },
     { path = "rust/Cargo.toml", format = "sdist" },
     { path = "rust/Cargo.lock", format = "sdist" },
+    { path = "rust/build.rs", format = "sdist" },
     { path = "rust/src/**", format = "sdist" },
 ]
 exclude = [