-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Binary distributions such as wheels include Cython and C sources #250
Comments
Does |
You’re right. I missed that.
Then exclude_package_data={"": ["*.c"]}, should do the trick. In my testing (with |
Cool! |
This does not affect source distributions, and Cython sources (.pyx) are still installed. Fixes aio-libs#250.
This does not affect source distributions, and Cython sources (.pyx) are still installed. Fixes aio-libs#250.
…ersion 1.3.0 1.3.0 (2022-01-18) ================== Bugfixes -------- - Do not install C sources with binary distributions. `#250 <https://github.com/aio-libs/frozenlist/issues/250>`_ Deprecations and Removals ------------------------- - Dropped Python 3.6 support `#274 <https://github.com/aio-libs/frozenlist/issues/274>`_ (NEWS truncated at 15 lines)
Long story short
Binary distributions such as wheels include Cython and C sources (
_frozenlist.pyx
and_frozenlist.c
).Expected behaviour
These should not be included in the binary distributions since they do not provide any value, and the C source is quite large.
Actual behaviour
Both
_frozenlist.pyx
and_frozenlist.c
are included in binary distributions.Steps to reproduce
Your environment
This is totally independent of platform.
Suggested fix
Either add to
setup(…)
insetup.py
:or, since this is currently the only package data, set
Neither will affect the source distribution.
The text was updated successfully, but these errors were encountered: