bazelnumpy/WORKSPACE

27 lines
657 B
Python
Raw Normal View History

2018-11-10 11:37:26 +00:00
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",
2018-11-10 11:43:02 +00:00
# Patch: allow no_remove
2018-11-10 11:37:26 +00:00
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()