This works in my setup because the python interpreter appears to be reacheable from the "standard" $PATH setup.
But is this the correct way to launch a python script from a repository rule ? Is there a more "portable" to execute run the python interpreter ?
Beware that I'm referring to a repository rule, because on normal rule one can just user py_binary and have the interpreter called for you. This is not possible on repository rules.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/feca5f45-f26c-434b-aa25-0d46a3221b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.