From 210f1547f889fcfcbc042380cb4c2cfef753ede8 Mon Sep 17 00:00:00 2001 From: Autumn Skerritt Date: Thu, 5 Nov 2026 00:40:02 +0000 Subject: [PATCH] sdist: the crate's tests (tests/**/*.rs), which Cargo.toml can name ([[test]] cli of #305) --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cb82313..19b0c82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,11 +45,13 @@ manifest-path = "py/Cargo.toml" python-source = "." module-name = "pywhat._pywhat" strip = true -# Cargo.toml names the crate's benches and examples, and cargo can't read it without their -# files (cargo package leaves them out of the crate, but the sdist builds from Cargo.toml) +# Cargo.toml names some of the crate's benches, examples and tests, and cargo can't read it +# without their files (cargo package leaves them out of the crate, but the sdist builds from +# Cargo.toml) include = [ { path = "benches/**/*.rs", format = "sdist" }, { path = "examples/**/*.rs", format = "sdist" }, + { path = "tests/**/*.rs", format = "sdist" }, ] [tool.isort]