py_binary with build_python_zip can run with just the name
🚀 feature request
Relevant Rules
Description
After we run the bazel build --build_python_zip //target , we get the zip file, when we run the file, we need
python xxx.zip
can we just run as the following
./xxx
so we can treat the result as just a single binary.
Describe the solution you'd like
If you have a solution in mind, please describe it.Describe alternatives you've considered
Have you considered any alternative solutions or workarounds?
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_python!
This issue was automatically closed because it went 30 days without a reply since it was labeled "Can Close?"
Would love it if that were possible. Or if we could execute that zip with the runtime interpreter rather than using the host interpreter. The later might already be possible to do?