benchmark/bindings/python/google_benchmark
Nicholas Junge eaafe694d2
Add Python bindings build using bzlmod (#1764)
* Add a bzlmod Python bindings build

Uses the newly started `@nanobind_bazel` project to build nanobind
extensions. This means that we can drop all in-tree custom build defs
and build files for nanobind and the C++ Python headers.

Additionally, the temporary WORKSPACE overwrite hack naturally goes away
due to the WORKSPACE system being obsolete.

* Bump ruff -> v0.3.1, change ruff settings

The latest minor releases incurred some formatting and configuration
changes, this commit rolls them out.

---------

Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
2024-03-07 12:28:55 +00:00
..
BUILD Add Python bindings build using bzlmod (#1764) 2024-03-07 12:28:55 +00:00
__init__.py Add Python bindings build using bzlmod (#1764) 2024-03-07 12:28:55 +00:00
benchmark.cc Convert uses of `const char*` to `std::string` (#1567) 2023-03-14 13:10:27 +00:00
example.py Add pre-commit config and GitHub Actions job (#1688) 2023-10-30 15:35:37 +00:00
version.py Add `setuptools_scm` for dynamic zero-config Python versioning (#1690) 2023-11-01 09:48:01 +00:00