keras/WORKSPACE
Scott Zhu 9372aa7ad3 Change how OSS Keras import python deps.
1. Remove tf as its workspace deps.
2. All the python code will be retrieved via pip install, rather than pip rule. This is possible since we remove the tf from workspace, which has high priority than the PIP package from local venv.
3. Install all the required python deps via "pip install -r requirements.txt".

This setting should enable us to have "pip uninstall keras-nightly" once we add it to tf-nightly as a deps. Since all the deps are controlled in local venv within the build script.

PiperOrigin-RevId: 364604880
2021-03-23 11:31:28 -07:00

13 lines
435 B
Python

workspace(name = "org_keras")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_google_protobuf",
sha256 = "b10bf4e2d1a7586f54e64a5d9e7837e5188fc75ae69e36f215eb01def4f9721b",
strip_prefix = "protobuf-3.15.3",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.15.3.tar.gz"],
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()