forked from apt-itude/rules_pip
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
52 lines (36 loc) · 1.16 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
workspace(name = "com_apt_itude_rules_pip")
# Dependencies for this repository
load("//rules:dependencies.bzl", "pip_rules_dependencies")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
pip_rules_dependencies()
# Buildifier repositories
http_archive(
name = "io_bazel_rules_go",
sha256 = "7be7dc01f1e0afdba6c8eb2b43d2fa01c743be1b9273ab1eaf6c233df078d705",
url = "https://github.com/bazelbuild/rules_go/releases/download/0.16.5/rules_go-0.16.5.tar.gz",
)
http_archive(
name = "com_github_bazelbuild_buildtools",
strip_prefix = "buildtools-0.15.0",
url = "https://github.com/bazelbuild/buildtools/archive/0.15.0.zip",
)
load(
"@io_bazel_rules_go//go:def.bzl",
"go_register_toolchains",
"go_rules_dependencies",
)
go_rules_dependencies()
go_register_toolchains()
load(
"@com_github_bazelbuild_buildtools//buildifier:deps.bzl",
"buildifier_dependencies",
)
buildifier_dependencies()
# PIP repositories
load("//rules:repository.bzl", "pip_repository")
pip_repository(
name = "pip",
requirements = "//thirdparty/pip:requirements-lock.json",
)
load("@pip//:requirements.bzl", "pip_install")
pip_install()