This is an automated email from the ASF dual-hosted git repository. saadurrahman pushed a commit to branch saadurrahman/native-python-rules-phase1 in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
commit 6ed1539c64dac77b1f499a8269159927fb139735 Author: Saad Ur Rahman <[email protected]> AuthorDate: Fri Jan 28 14:39:17 2022 -0500 [Build] Workspace Added pip_install entry. --- WORKSPACE | 10 ++++++++++ tools/python/requirements.txt | 0 2 files changed, 10 insertions(+) diff --git a/WORKSPACE b/WORKSPACE index 65370cf..b160c03 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -179,6 +179,16 @@ http_archive( url = "https://github.com/bazelbuild/rules_python/releases/download/0.1.0/rules_python-0.1.0.tar.gz", ) + +load("@rules_python//python:pip.bzl", "pip_install") +# Create a central external repo, @heron_py_deps, that contains Bazel targets for all the +# third-party packages specified in the requirements.txt file. +pip_install( + name = "heron_py_deps", + requirements = "//tools/python:requirements.txt", +) + + load("@rules_python//python:repositories.bzl", "py_repositories") py_repositories() diff --git a/tools/python/requirements.txt b/tools/python/requirements.txt new file mode 100644 index 0000000..e69de29
