From 2cdee6921205377611ca85de0a9f74e341d3978e Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Thu, 9 Jan 2025 14:23:53 +0100 Subject: [PATCH] fix: update package_data to include header and source files for valgrind wrapper --- setup.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index ef29e31..033692b 100644 --- a/setup.py +++ b/setup.py @@ -50,12 +50,11 @@ ) setup( - exclude_package_data={ - "pytest_codspeed.instruments.valgrind._wrapper": [ - "*.c", - "*.h", - "build.py", - ], + package_data={ + "pytest_codspeed": [ + "instruments/valgrind/_wrapper/*.h", + "instruments/valgrind/_wrapper/*.c", + ] }, ext_modules=( [ffi_extension] if IS_EXTENSION_BUILDABLE and not SKIP_EXTENSION_BUILD else []