tile/third_party/benchmark/bindings/python/google_benchmark/version.py

8 lines
182 B
Python
Raw Normal View History

2024-06-11 19:13:30 +08:00
from importlib.metadata import PackageNotFoundError, version
try:
__version__ = version("google-benchmark")
except PackageNotFoundError:
# package is not installed
pass