☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
third-party
/
benchmark
/
bindings
/
python
/
google_benchmark
/
version.py
☽
☼
third-party/benchmark/bindings/python/google_benchmark/version.py
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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