-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMODULE.bazel
More file actions
37 lines (32 loc) · 1.14 KB
/
MODULE.bazel
File metadata and controls
37 lines (32 loc) · 1.14 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
module(name = "dbscan")
bazel_dep(name = "aspect_bazel_lib", version = "2.22.2")
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "pybind11_bazel", version = "3.0.0")
bazel_dep(name = "rules_cc", version = "0.2.14")
bazel_dep(name = "rules_python", version = "1.7.0")
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "nanobench",
build_file = "@dbscan//third_party:nanobench.BUILD.bazel",
sha256 = "53a5a913fa695c23546661bf2cd22b299e10a3e994d9ed97daf89b5cada0da70",
strip_prefix = "nanobench-4.3.11",
urls = [
"https://github.com/martinus/nanobench/archive/refs/tags/v4.3.11.tar.gz",
],
)
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
is_default = True,
python_version = "3.10",
)
pip = use_extension(
"@rules_python//python/extensions:pip.bzl",
"pip",
dev_dependency = True,
)
pip.parse(
hub_name = "com_github_com_ahans_dbscan_pypi",
python_version = "3.10",
requirements_lock = "//python:requirements_lock.txt",
)
use_repo(pip, "com_github_com_ahans_dbscan_pypi")