-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathWORKSPACE
More file actions
46 lines (33 loc) · 1.13 KB
/
WORKSPACE
File metadata and controls
46 lines (33 loc) · 1.13 KB
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
workspace(name = "org_dnosproject_dnos_tools_python")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "io_bazel_rules_python",
commit = "a558949cce478e537c6474c3bc5848a7d90e42c0",
remote = "https://github.com/bazelbuild/rules_python.git",
)
# Only needed for PIP support:
load("@io_bazel_rules_python//python:pip.bzl", "pip_import", "pip_repositories")
pip_repositories()
### Python third-party libraries
## python-openflow library
pip_import(
name = "python-openflow",
requirements = "//:requirements.txt",
)
load("@python-openflow//:requirements.bzl", _python_openflow_install = "pip_install")
_python_openflow_install()
## Ryu
pip_import(
name = "ryu",
requirements = "//:requirements.txt",
)
load("@ryu//:requirements.bzl", _ryu_install = "pip_install")
_ryu_install()
## dnos-core-grpc-python
pip_import(
name = "dnos-core-grpc-python",
requirements = "//:requirements.txt",
)
load("@dnos-core-grpc-python//:requirements.bzl", _dnos_core_grpc_python = "pip_install")
_dnos_core_grpc_python()