module( | |
name = "nanobind", | |
version = "2.1.0", | |
compatibility_level = 1, | |
) | |
bazel_dep(name = "platforms", version = "0.0.10") | |
bazel_dep(name = "rules_python", version = "0.36.0") | |
bazel_dep(name = "robin-map", version = "1.3.0") | |
python = use_extension("@rules_python//python/extensions:python.bzl", "python") | |
python.toolchain(python_version = "3.8") | |
use_repo(python, "python_3_8") | |
# No need to register the toolchain for Python, we just want the headers. |