Debian Codegraph @

third-party/benchmark/bindings/python/google_benchmark/version.py

raw
1 from importlib.metadata import PackageNotFoundError, version
2
3 try:
4 __version__ = version("google-benchmark")
5 except PackageNotFoundError:
6 # package is not installed
7 pass