Bazel rules for pip requirements
This repository provides rules for the Bazel build tool that allow your Python code to depend on pip packages using a standard requirements file. It is built in pure Python and uses the
wheel libraries to ensure that the resulting dependency set is the same as it would be by using those tools.
This repository is designed to be compatible with both Python 2 and 3 in a single repo, as well as support multiple platforms.
Add the following to your
git_repository( name = "com_apt_itude_rules_pip", commit = "e5ed5e72bf5a7521244e1d2119821628bbf17263", remote = "https://github.com/apt-itude/rules_pip.git", ) load("@com_apt_itude_rules_pip//rules:dependencies.bzl", "pip_rules_dependencies") pip_rules_dependencies()