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 []