-
-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support
pex_binary
addresses in provides=setup_py(entry_points)
f…
…ield (#12414) With the new `entry_points` field on `python_distribution` that supports arbitrary entry points for the `setuptools.setup()` call, including getting the entry point method from a `pex_binary` targets entry point and dependency inference, this PR brings the same features to the `setup_py(entry_points)` object field. By uniting all entry point processing to the `resolve_python_distribution_entry_points` and `inject_python_distribution_dependencies` rules, it is easier to treat all the different sources of entry points the same. Legacy `with_binaries()` processing in the `generate_chroot` rule can thus be removed in favor of the updated python distribution rules mentioned above. [ci skip-rust] [ci skip-build-wheels]
- Loading branch information
Showing
6 changed files
with
162 additions
and
118 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
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
Oops, something went wrong.