Skip to content

Conversation

Ahajha
Copy link

@Ahajha Ahajha commented Sep 3, 2025

When specifying data_files in py_wheel, allow just the directory to be specified (with a trailing slash), in which case it will use the file's name. This avoids duplicating (potentially platform-specific) names. Before, this would result in the file simply not being installed, so this only changes already-broken behavior.

PR Instructions/requirements

  • Update CHANGELOG.md as applicable
  • Update docs and tests, as applicable
  • Delete these instructions prior to sending the PR

Ahajha and others added 2 commits September 3, 2025 00:54
When specifying `data_files` in `py_wheel`, allow just the directory to be specified (with a trailing slash), in which case it will use the file's name. This avoids duplicating (potentially platform-specific) names.
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.

2 participants