Skip to content

Commit afbe7a0

Browse files
musicinmybrainpatchback[bot]
authored andcommitted
Do not install C sources in binary distributions (#6400)
(cherry picked from commit e1ed247)
1 parent 36960e6 commit afbe7a0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGES/6399.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Do not install C sources with binary distributions.

setup.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ install_requires =
5959
frozenlist >= 1.1.1
6060
aiosignal >= 1.1.2
6161

62+
[options.exclude_package_data]
63+
* =
64+
*.c
65+
*.h
66+
6267
[options.extras_require]
6368
speedups =
6469
aiodns
@@ -74,7 +79,6 @@ exclude =
7479
# https://setuptools.readthedocs.io/en/latest/setuptools.html#options
7580
# (see notes for the asterisk/`*` meaning)
7681
* =
77-
# *.c
7882
*.so
7983

8084
[pep8]

0 commit comments

Comments
 (0)