forked from google/subpar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
43 lines (37 loc) · 1.24 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
workspace(name = "subpar")
# These version vars aren't consumed by anything but are good to know for
# documentation / compatibility purposes.
#
# Because of use of `PyInfo` provider.
MIN_BAZEL_VERSION = "0.23.0"
# Because tests require --incompatible_use_python_toolchains.
MIN_BAZEL_VERSION_FOR_TESTS = "0.25.0"
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "rules_python",
remote = "https://github.com/bazelbuild/rules_python.git",
commit = "6c5f479420b0a086e3bc7a6d7c818196d0c89ad8", # 2019-08-02
)
load("@rules_python//python:repositories.bzl", "py_repositories")
py_repositories()
# Used by integration tests
local_repository(
name = "test_workspace",
path = "tests/test_workspace",
)
local_repository(
name = "pypi__portpicker_1_2_0",
path = "third_party/pypi__portpicker_1_2_0",
)
local_repository(
name = "pypi__yapf_0_19_0",
path = "third_party/pypi__yapf_0_19_0",
)
# Not actually referenced anywhere, but must be marked as a separate
# repository so that things like "bazel test //..." don't get confused
# by the BUILD file in docs/. This is a hack, and Bazel still gets
# confused by the docs/bazel-* symlinks.
local_repository(
name = "docs",
path = "docs",
)