From 8c80fae6cb70add5bfeddde6b4c9c9cf56778bc2 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Mon, 30 May 2022 12:52:57 +0100 Subject: [PATCH 1/2] Add a basic pyproject.toml to allow building from source distribution --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..4ef91c8 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["maturin>=0.12,<0.13"] +build-backend = "maturin" \ No newline at end of file From cb2063b878741441599ccfe6a795296bae4ad43b Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Thu, 14 Jul 2022 14:25:28 +0100 Subject: [PATCH 2/2] Update pyproject.toml Co-authored-by: Erik Johnston --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4ef91c8..ff1ff55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,6 @@ [build-system] requires = ["maturin>=0.12,<0.13"] -build-backend = "maturin" \ No newline at end of file +build-backend = "maturin" + +[tool.maturin] +sdist-include = ["Cargo.lock"] \ No newline at end of file