Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #6400/e1ed247d backport][3.8] Do not install C sources in binary distributions #6402

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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