Skip to content

Commit

Permalink
Include headers in package data
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rtobar committed Aug 25, 2024
1 parent 409ec03 commit 2a8578e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2a8578e

Please sign in to comment.