aboutsummaryrefslogtreecommitdiff
path: root/python/WORKSPACE
diff options
context:
space:
mode:
authorkste <kste@google.com>2020-03-03 01:00:51 -0800
committerCopybara-Service <copybara-worker@google.com>2020-03-03 01:01:23 -0800
commitb23408dccf6d20a3f55f98de2517d0d00b42cd4e (patch)
tree6d5ad1d8d61492e84b3ab6234d90056174f6f1e7 /python/WORKSPACE
parente700964de2985dbc282498e2a815d3e684f9c2e5 (diff)
downloadtink-b23408dccf6d20a3f55f98de2517d0d00b42cd4e.tar.gz
Add separate WORKSPACE for Python.
PiperOrigin-RevId: 298547627
Diffstat (limited to 'python/WORKSPACE')
-rw-r--r--python/WORKSPACE35
1 files changed, 35 insertions, 0 deletions
diff --git a/python/WORKSPACE b/python/WORKSPACE
new file mode 100644
index 000000000..7a7b03f9c
--- /dev/null
+++ b/python/WORKSPACE
@@ -0,0 +1,35 @@
+workspace(name = "tink_py")
+
+local_repository(
+ name = "tink_base",
+ path = "..",
+)
+
+local_repository(
+ name = "tink_cc",
+ path = "../cc",
+)
+
+# Need to load rules_python earlier as proto uses an older version which is
+# incompatible with our Python implementation will load
+load("@tink_py//:tink_py_deps.bzl", "tink_py_deps")
+tink_py_deps()
+
+load("@tink_py//:tink_py_deps_init.bzl", "tink_py_deps_init")
+tink_py_deps_init()
+
+load("@tink_base//:tink_base_deps.bzl", "tink_base_deps")
+tink_base_deps()
+
+load("@tink_base//:tink_base_deps_init.bzl", "tink_base_deps_init")
+tink_base_deps_init()
+
+load("@tink_cc//:tink_cc_deps.bzl", "tink_cc_deps")
+tink_cc_deps()
+
+load("@tink_cc//:tink_cc_deps_init.bzl", "tink_cc_deps_init")
+tink_cc_deps_init()
+
+
+load("@tink_py_pip_deps//:requirements.bzl", "pip_install")
+pip_install()