From 8f202e52113211b34b284b2df5d2203cf4651cd6 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 25 Jun 2024 13:36:49 -0700 Subject: [PATCH 1/3] Does this work? --- wheel/pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/wheel/pyproject.toml b/wheel/pyproject.toml index 6359b8e88..ff691bde4 100644 --- a/wheel/pyproject.toml +++ b/wheel/pyproject.toml @@ -6,3 +6,4 @@ build-backend = "maturin" bindings = "pyo3" features = ["pyo3/extension-module"] python-source = "python" +include = ["python/chia_rs/chia_rs.pyi"] From 41c565c1f0a67e269f661c0b3b29e87e026980f1 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 25 Jun 2024 13:59:42 -0700 Subject: [PATCH 2/3] How about this? --- wheel/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wheel/Cargo.toml b/wheel/Cargo.toml index 7bd156303..fa7e9f2c5 100644 --- a/wheel/Cargo.toml +++ b/wheel/Cargo.toml @@ -17,6 +17,9 @@ name = "chia_rs" crate-type = ["cdylib"] path = "src/lib.rs" +[package.metadata.maturin] +python-source = "python" + [dependencies] clvmr = { workspace = true } hex = { workspace = true } From fa15d432f3058e6d07adad83058521fd073a87cc Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 25 Jun 2024 14:12:07 -0700 Subject: [PATCH 3/3] Undo the other thing that didn't work --- wheel/pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/wheel/pyproject.toml b/wheel/pyproject.toml index ff691bde4..6359b8e88 100644 --- a/wheel/pyproject.toml +++ b/wheel/pyproject.toml @@ -6,4 +6,3 @@ build-backend = "maturin" bindings = "pyo3" features = ["pyo3/extension-module"] python-source = "python" -include = ["python/chia_rs/chia_rs.pyi"]