summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-09-26 14:58:10 +0100
committerDavid Robertson <davidr@element.io>2022-09-26 15:12:57 +0100
commit6d3b1497c3df5591ba72cefba69b07324bc9980e (patch)
treefabcbdb00c67a453d5d576a67f03118f26681fbd
parentMove warnings up (diff)
downloadsynapse-6d3b1497c3df5591ba72cefba69b07324bc9980e.tar.xz
Correctly add Cargo.lock to sdsit (#13909)
-rw-r--r--changelog.d/13909.bugfix1
-rw-r--r--pyproject.toml2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/13909.bugfix b/changelog.d/13909.bugfix
new file mode 100644
index 0000000000..883dd72919
--- /dev/null
+++ b/changelog.d/13909.bugfix
@@ -0,0 +1 @@
+Fix packaging to include `Cargo.lock` in `sdist`.
diff --git a/pyproject.toml b/pyproject.toml
index ff0c9d1dbc..0a4242fb72 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -86,8 +86,8 @@ include = [
     { 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/Cargo.lock", format = "sdist" },
     { path = "rust/build.rs", format = "sdist" },
     { path = "rust/src/**", format = "sdist" },
 ]