wip: fetch dependencies
diff --git a/example/WORKSPACE b/example/WORKSPACE new file mode 100644 index 0000000..ac543a5 --- /dev/null +++ b/example/WORKSPACE
@@ -0,0 +1,24 @@ +workspace(name = "example_repo") + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +http_archive( + name = "rules_python", + url = "https://github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.gz", + sha256 = "aa96a691d3a8177f3215b14b0edc9641787abaaa30363a080165d06ab65e1161", +) +load("@rules_python//python:repositories.bzl", "py_repositories") +py_repositories() + +local_repository( + name = "rules_python_external", + path = "../", +) + +load("@rules_python_external//:repositories.bzl", "rules_python_external_dependencies") +rules_python_external_dependencies() + +load("@rules_python_external//:defs.bzl", "pip_install") +pip_install( + requirements = "//:requirements.txt", +)