From 75f3c47f8daa8e2318c05b13a78565d3f4f0f010 Mon Sep 17 00:00:00 2001 From: Fantix King Date: Sun, 15 Oct 2023 17:30:10 -0400 Subject: [PATCH] Exclude C files in wheel dist --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index ce56304..c4f93f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,6 +63,9 @@ build-backend = "setuptools.build_meta" zip-safe = false packages = ["uvloop"] +[tool.setuptools.exclude-package-data] +"*" = ["*.c", "*.h"] + [tool.cibuildwheel] build-frontend = "build" test-extras = "test"