From ad7a3c1f3d352c6735992e75d93835c011c95ea2 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Tue, 3 Dec 2024 01:03:33 +0100 Subject: [PATCH] build: remove cargo.toml files from wheels (#12091) --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4266e3bd5ba4..0378e78815e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,15 +101,17 @@ include = [ "src/_cffi_src/**/*.c", "src/_cffi_src/**/*.h", - "**/Cargo.toml", - "**/Cargo.lock", + "Cargo.toml", + "Cargo.lock", + "src/rust/**/Cargo.toml", + "src/rust/**/Cargo.lock", "src/rust/**/*.rs", "tests/**/*.py", ] exclude = [ "vectors/**/*", - "src/rust/target/**/*", + "target/**/*", "docs/_build/**/*", ".github/**/*", ".readthedocs.yml",