From 2a8578e054ceb09a64f76ec4b47eba95132bb13c Mon Sep 17 00:00:00 2001 From: Rodrigo Tobar Date: Sun, 25 Aug 2024 09:43:16 +0800 Subject: [PATCH] Include headers in package data This seemed unnecessary (under python3.12 and setuptools 73.0.1, while on CI (python 3.7, and an undetermined setuptools version) headers were not being bundled. Explicitly listing them should solve the issue though. Signed-off-by: Rodrigo Tobar --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 02e49ed..4a08134 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ classifiers=classifiers, packages=["crc32c"], package_dir={"": "src"}, - package_data={"crc32c": ["*.pyi", "py.typed"]}, + package_data={"crc32c": ["*.pyi", "py.typed", "ext/*.h"]}, python_requires=">=3.7", ext_modules=[crcmod_ext], test_suite="test",