Skip to content

Commit

Permalink
Force python2 for pip_import
Browse files Browse the repository at this point in the history
This is a stop gap change until bazelbuild#82 is landed.
  • Loading branch information
siddharthab authored Apr 11, 2018
1 parent b25495c commit 4b6cd84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pip.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _pip_import_impl(repository_ctx):

# To see the output, pass: quiet=False
result = repository_ctx.execute([
"python", repository_ctx.path(repository_ctx.attr._script),
"python2", repository_ctx.path(repository_ctx.attr._script),
"--name", repository_ctx.attr.name,
"--input", repository_ctx.path(repository_ctx.attr.requirements),
"--output", repository_ctx.path("requirements.bzl"),
Expand Down

0 comments on commit 4b6cd84

Please sign in to comment.