Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
.pyi
type stubs to show up in python_distribution
(cherrypick…
… of #14033) (#14035) @asherf discovered that even though we were including `.pyi` files in the chroot we give to `setuptools`, we need to set the value in `package_data` for setuptools to actually include the file. See https://blog.ian.stapletoncordas.co/2019/02/distributing-python-libraries-with-type-annotations.html. Because of this issue, `pantsbuild.pants` was not including `native_engine.pyi` in the wheel. [ci skip-rust] [ci skip-build-wheels]
- Loading branch information
1 parent
74be905
commit f75c7df
Showing
2 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters