| workspace(name = "py_import") | |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | |
| http_archive( | |
| name = "rules_python", | |
| sha256 = "954aa89b491be4a083304a2cb838019c8b8c3720a7abb9c4cb81ac7a24230cea", | |
| url = "https://github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.gz", | |
| ) | |
| load("@rules_python//python:pip.bzl", "pip_install") | |
| pip_install(requirements = "//:requirements.txt") |