diff --git a/python/runfiles/runfiles.py b/python/runfiles/runfiles.py index 293af3a49b..5e9cb795cf 100644 --- a/python/runfiles/runfiles.py +++ b/python/runfiles/runfiles.py @@ -27,12 +27,12 @@ py_binary( name = "my_binary", ... - deps = ["@bazel_tools//tools/python/runfiles"], + deps = ["@rules_python//python/runfiles"], ) 2. Import the runfiles library. - from bazel_tools.tools.python.runfiles import runfiles + from python.runfiles import runfiles 3. Create a Runfiles object and use rlocation to look up runfile paths: