Skip to content

Commit

Permalink
[build] Add python dev requirements to bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Jul 17, 2020
1 parent a4e7fe0 commit 870d803
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,13 @@ load("@rules_python//python:repositories.bzl", "py_repositories")
py_repositories()

# This one is only needed if you're using the packaging rules.
load("@rules_python//python:pip.bzl", "pip_repositories")
load("@rules_python//python:pip.bzl", "pip_repositories", "pip_import")
pip_import(
name = "dev_requirements",
requirements="//py:requirements.txt",
)
load("@dev_requirements//:requirements.bzl", "pip_install")
pip_install()

pip_repositories()

Expand Down
1 change: 1 addition & 0 deletions py/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
inflection

0 comments on commit 870d803

Please sign in to comment.