Skip to content

Commit

Permalink
Do not install C sources in binary distributions
Browse files Browse the repository at this point in the history
This does not affect source distributions, and Cython sources (.pyx) are
still installed.

Fixes aio-libs#6399.
  • Loading branch information
musicinmybrain committed Dec 8, 2021
1 parent dcb44a9 commit db818a0
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 @@ -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
Expand All @@ -71,7 +76,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 db818a0

Please sign in to comment.