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

Exclude libbacktrace from our built wheel #110

Merged
merged 2 commits into from May 17, 2022

Conversation

godlygeek
Copy link
Contributor

@godlygeek godlygeek commented May 17, 2022

Remove vendored libbacktrace from our built wheel. Using find_namespace_packages instead of find_packages results in
src/vendor/ being picked up as a namespace package called vendor and included in the wheel that we build. This is only needed at build time, and shouldn't be installed.

Also, remove package_data from our setuptools.setup() call. This is redundant, as we're already providing include_package_data=True, which includes every data file listed in the manifest, including py.typed.

Using `find_namespace_packages` instead of `find_packages` results in
`src/vendor/` being picked up as a namespace package called `vendor` and
included in the wheel that we build. This is only needed at build time,
and shouldn't be installed.

Signed-off-by: Matt Wozniski <godlygeek@gmail.com>
This is redundant, as we're already providing
`include_package_data=True`, which includes every data file listed in
the manifest, including `py.typed`.

Signed-off-by: Matt Wozniski <godlygeek@gmail.com>
@godlygeek godlygeek added the bug Something isn't working label May 17, 2022
@godlygeek godlygeek self-assigned this May 17, 2022
@godlygeek godlygeek enabled auto-merge (rebase) May 17, 2022 01:13
@godlygeek godlygeek merged commit 0abfb18 into bloomberg:main May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants