Exclude C files in wheel dist

This commit is contained in:
Fantix King 2023-10-15 17:30:10 -04:00
parent 3eb2adfbe3
commit 75f3c47f8d
No known key found for this signature in database
GPG Key ID: 95304B04071CCDB4
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ build-backend = "setuptools.build_meta"
zip-safe = false zip-safe = false
packages = ["uvloop"] packages = ["uvloop"]
[tool.setuptools.exclude-package-data]
"*" = ["*.c", "*.h"]
[tool.cibuildwheel] [tool.cibuildwheel]
build-frontend = "build" build-frontend = "build"
test-extras = "test" test-extras = "test"