bazelnumpy/WORKSPACE

27 lines
657 B
Python

git_repository(
name = "io_bazel_rules_python",
# Patch: Invoke pip for the appropriate Python version.
remote = "https://github.com/uri-canva/rules_python.git",
commit = "b8f9dead4a2d3607455db4f87adf58c56c9de8c7",
)
git_repository(
name = "subpar",
remote = "https://github.com/q3k/subpar",
# Patch: allow no_remove
commit = "e32f5f71d263858eb099f79a281760f0c3aae4c6",
)
load("@io_bazel_rules_python//python:pip.bzl", "pip3_import", "pip_repositories")
pip_repositories()
pip3_import(
name = "py_deps",
requirements = "//py:requirements.txt",
)
load("@py_deps//:requirements.bzl", "pip_install")
pip_install()