apt-itude / rules_pip

Bazel rules for pip requirements

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bazel rules for pip requirements

Build Status

Overview

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 pip and 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.

Setup

Add the following to your WORKSPACE file:

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()

About

Bazel rules for pip requirements


Languages

Language:Python 94.2%Language:Shell 5.8%