blob: 6f8bbb2e5e9d647bdf526026c8a17b70324892b0 [file] [log] [blame]
package rules_python
import (
"go.skia.org/infra/bazel/go/bazel"
)
var runfilePath = ""
// Find returns the path to the `python3` binary provided by rules_python[1].
//
// Calling this function from any Go package will automatically establish a Bazel dependency on the
// corresponding external Bazel repository.
//
// [1] https://github.com/bazelbuild/rules_python
func Find() (string, error) {
return bazel.FindExecutable("python3", runfilePath)
}