Skip to content

Commit

Permalink
[PR #6400/e1ed247d backport][3.8] Do not install C sources in binary …
Browse files Browse the repository at this point in the history
…distributions (#6402)

Co-authored-by: Ben Beasley <code@musicinmybrain.net>
  • Loading branch information
patchback[bot] and musicinmybrain committed Dec 9, 2021
1 parent 1a4fbc8 commit 83e9b8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/6399.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Do not install C sources with binary distributions.
6 changes: 5 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ install_requires =
frozenlist >= 1.1.1
aiosignal >= 1.1.2

[options.exclude_package_data]
* =
*.c
*.h

[options.extras_require]
speedups =
aiodns
Expand All @@ -74,7 +79,6 @@ exclude =
# https://setuptools.readthedocs.io/en/latest/setuptools.html#options
# (see notes for the asterisk/`*` meaning)
* =
# *.c
*.so

[pep8]
Expand Down

0 comments on commit 83e9b8a

Please sign in to comment.