benchmark/bindings/python/google_benchmark
Nicholas Junge 3623765dd3
Add setuptools_scm for dynamic zero-config Python versioning (#1690)
* Add `setuptools_scm` for dynamic zero-config Python versioning

This removes the need for manually bumping versions in the Python
bindings.

For the wheel uploads, the correct semver version is inferred in the case
of tagged commits, which is exactly the case in GitHub CI.

The docs were updated to reflect the changes in the release workflow.

* Add separate version variable and module, use PEP484-compliant exports

This is the best practice mentioned in the `setuptools_scm` docs, see
https://setuptools-scm.readthedocs.io/en/latest/usage/#version-at-runtime.
2023-11-01 09:48:01 +00:00
..
__init__.py Add setuptools_scm for dynamic zero-config Python versioning (#1690) 2023-11-01 09:48:01 +00:00
benchmark.cc Convert uses of const char* to std::string (#1567) 2023-03-14 13:10:27 +00:00
BUILD Add pre-commit config and GitHub Actions job (#1688) 2023-10-30 15:35:37 +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