Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8029ddb

Browse filesBrowse files
author
Sebastian Pietras
authored
Added path separator dependent on system (bazel-contrib#53)
1 parent 275995e commit 8029ddb
Copy full SHA for 8029ddb

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎defs.bzl

Copy file name to clipboardExpand all lines: defs.bzl
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def _pip_repository_impl(rctx):
2222
rctx.path(Label("@" + repo + "//:BUILD.bazel")).dirname
2323
for repo in all_requirements
2424
]
25-
pypath = ":".join([str(p) for p in [rules_root] + thirdparty_roots])
25+
separator = ":" if not "windows" in rctx.os.name.lower() else ";"
26+
pypath = separator.join([str(p) for p in [rules_root] + thirdparty_roots])
2627

2728
args = [
2829
python_interpreter,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.