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

fix: include license file entry in search #601

Merged
merged 3 commits into from
Jan 3, 2024
Merged

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Jan 2, 2024

This would help #571 not have shown an error (but in that case, multiple licenses is actually desired, and the custom tool.scikit-build setting should be used until PEP 639 goes somewhere).

Also fixes #571 by filtering out directory matches.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@LecrisUT
Copy link
Collaborator

LecrisUT commented Jan 2, 2024

The error might still bee triggered when it matches a directory. Should filter out the directories before passing it to read_bytes

@henryiii henryiii merged commit 35821bf into main Jan 3, 2024
42 of 46 checks passed
@henryiii henryiii deleted the henryiii/fix/licensefile branch January 3, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception raised during wheel build.
2 participants