Skip to content

Commit 3e10415

Browse files
Kamal Sai DevarapalliKamal Sai Devarapalli
authored andcommitted
feat: update Bazel configuration
- Updated MODULE.bazel with proper module configuration - Added .bazelrc for Bazel settings
1 parent 5bd70af commit 3e10415

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

MODULE.bazel

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1-
###############################################################################
2-
# Bazel now uses Bzlmod by default to manage external dependencies.
3-
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel.
4-
#
5-
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
6-
###############################################################################
1+
module(
2+
name = "eventstreammonitor",
3+
version = "1.0.0",
4+
)
5+
6+
# Python rules
7+
bazel_dep(name = "rules_python", version = "0.26.0")
8+
9+
# Python toolchain
10+
python = use_extension("@rules_python//python:extensions.bzl", "python")
11+
python.toolchain(
12+
python_version = "3.9",
13+
)
14+
use_repo(python, "python3_9_toolchains")
15+
16+
# Python dependencies (if using pip_parse)
17+
# pip = use_extension("@rules_python//python:extensions.bzl", "pip")
18+
# pip.parse(
19+
# name = "pip_deps",
20+
# requirements_lock = "//:requirements-lock.txt",
21+
# )
22+
# use_repo(pip, "pip_deps")

0 commit comments

Comments
 (0)