Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/runfiles/runfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down