forked from lava/matplotlib-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
25 lines (23 loc) · 859 Bytes
/
BUILD.bazel
File metadata and controls
25 lines (23 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
load("@my_pip//:requirements.bzl", "all_requirements")
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
load("//tools:embedding.bzl", "cc_py_library")
# This stanza calls a rule that generates targets for managing pip dependencies
# with pip-compile. To update, run `bazel run //:requirements.update`
compile_pip_requirements(
name = "requirements",
src = "requirements.in",
requirements_txt = "requirements_lock.txt",
requirements_windows = "requirements_windows.txt",
)
cc_py_library(
name = "matplotlibcpp",
srcs = ["matplotlibcpp.h"],
hdrs = ["matplotlibcpp.h"],
includes = ["matplotlibcpp.h"],
py_deps = all_requirements,
visibility = ["//visibility:public"],
deps = [
"@rules_python//python/cc:current_py_cc_headers",
"@rules_python//python/cc:current_py_cc_libs",
],
)