-
-
Notifications
You must be signed in to change notification settings - Fork 639
Closed
Labels
Can Close?Will close in 30 days if there is no new activityWill close in 30 days if there is no new activity
Description
#523 added py_binary targets for console_scripts, (Python entry points), but scripts (arbitrary executables) are omitted.
Moreoever, scripts (under the scripts/ directory in the wheel) are not exposed in any way.
Examples: ansible-test from the ansible-core package, aws from the awscli package. Currently, these cannot be run.
Suggestion: Add sh_binary target for these scripts.
In many cases these scripts are in fact Python, and use a system Python runtime, so you may or may not want to actually invoke the executable target.
However, even then it would still at least be available as a file via DefaultInfo. So you could create your own py_binary, using the toolchain python.
Metadata
Metadata
Assignees
Labels
Can Close?Will close in 30 days if there is no new activityWill close in 30 days if there is no new activity