mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Add pip_install to the build. (#435)
Updates corresponding tool instructions.
This commit is contained in:
+6
-1
@@ -3,10 +3,12 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
|
||||
load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
|
||||
load("@py_deps//:requirements.bzl", "requirement")
|
||||
|
||||
py_library(
|
||||
name = "github_helpers",
|
||||
srcs = ["github_helpers.py"],
|
||||
deps = [requirement("gql")],
|
||||
)
|
||||
|
||||
py_test(
|
||||
@@ -34,7 +36,10 @@ py_binary(
|
||||
name = "update_label_access",
|
||||
srcs = ["update_label_access.py"],
|
||||
python_version = "PY3",
|
||||
deps = ["github_helpers"],
|
||||
deps = [
|
||||
"github_helpers",
|
||||
requirement("pygithub"),
|
||||
],
|
||||
)
|
||||
|
||||
py_test(
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
||||
# Exceptions. See /LICENSE for license information.
|
||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
|
||||
# Python dependencies, consumed by /WORKSPACE.
|
||||
gql
|
||||
PyGitHub
|
||||
Reference in New Issue
Block a user