diff --git a/CHANGES/6399.misc b/CHANGES/6399.misc new file mode 100644 index 00000000000..beaeafbea61 --- /dev/null +++ b/CHANGES/6399.misc @@ -0,0 +1 @@ +Do not install C sources with binary distributions. diff --git a/setup.cfg b/setup.cfg index 5a268b35437..e6dd14bc085 100644 --- a/setup.cfg +++ b/setup.cfg @@ -56,6 +56,11 @@ install_requires = frozenlist >= 1.1.1 aiosignal >= 1.1.2 +[options.exclude_package_data] +* = + *.c + *.h + [options.extras_require] speedups = aiodns >= 1.1 @@ -71,7 +76,6 @@ exclude = # https://setuptools.readthedocs.io/en/latest/setuptools.html#options # (see notes for the asterisk/`*` meaning) * = -# *.c *.so [pep8]