From 127d3eb26800f83fb1673e9ceaf84a13c460e405 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 11 Apr 2022 09:16:27 -0400 Subject: [PATCH] Do not install C sources in binary distributions This does not affect source distributions, and Cython sources (.pyx) are still installed. --- setup.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.cfg b/setup.cfg index fdd6bdd9d579f..5fb38a48a8555 100644 --- a/setup.cfg +++ b/setup.cfg @@ -45,6 +45,11 @@ zip_safe = False pandas_plotting_backends = matplotlib = pandas:plotting._matplotlib +[options.exclude_package_data] +* = + *.c + *.h + [options.extras_require] test = hypothesis>=5.5.3