-
I have an old requirement that our executable Python zips use a hard-coded system interpreter (and not include a hermetic interpreter in the archive). I used to be able to do this with a
Now that
what is the correct way to set this up on the latest (v.1.3.0) version of Python rules? |
Beta Was this translation helpful? Give feedback.
Answered by
rickeylev
Apr 9, 2025
Replies: 1 comment
-
I think all you have to do here is add See also our docs on setting up custom toolchains: https://rules-python.readthedocs.io/en/latest/toolchains.html |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rickeylev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think all you have to do here is add
load("@rules_python//python:py_runtime.bzl", "py_runtime")
See also our docs on setting up custom toolchains: https://rules-python.readthedocs.io/en/latest/toolchains.html