Skip to content

Commit e1ed247

Browse files
Do not install C sources in binary distributions (#6400)
1 parent dcb44a9 commit e1ed247

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
@@ -56,6 +56,11 @@ install_requires =
5656
frozenlist >= 1.1.1
5757
aiosignal >= 1.1.2
5858

59+
[options.exclude_package_data]
60+
* =
61+
*.c
62+
*.h
63+
5964
[options.extras_require]
6065
speedups =
6166
aiodns >= 1.1
@@ -71,7 +76,6 @@ exclude =
7176
# https://setuptools.readthedocs.io/en/latest/setuptools.html#options
7277
# (see notes for the asterisk/`*` meaning)
7378
* =
74-
# *.c
7579
*.so
7680

7781
[pep8]

0 commit comments

Comments
 (0)