Skip to content

Commit

Permalink
Add stim.pyi to bazel dev build
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Nov 21, 2023
1 parent eb08747 commit fbf48c3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,20 @@ cc_binary(
deps = ["@pybind11"],
)

genrule(
name = "stim_wheel_files",
srcs = ["doc/stim.pyi"],
outs = ["stim.pyi"],
cmd = "cp $(location doc/stim.pyi) $@",
)

py_wheel(
name = "stim_dev_wheel",
distribution = "stim",
requires = ["numpy"],
version = "0.0.dev0",
deps = [":stim.so"],
deps = [
":stim.so",
":stim_wheel_files",
],
)

0 comments on commit fbf48c3

Please sign in to comment.