You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
486 B
15 lines
486 B
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.2.0/rules_python-0.2.0.tar.gz",
|
|
sha256 = "778197e26c5fbeb07ac2a2c5ae405b30f6cb7ad1f5510ea6fdac03bded96cc6f",
|
|
)
|
|
|
|
load("@rules_python//python:pip.bzl", "pip_install")
|
|
pip_install(
|
|
name = "pip_requirements",
|
|
requirements = "//:requirements.txt",
|
|
)
|
|
|
|
register_toolchains("//:python_toolchain")
|
|
|