aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/google_benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/google_benchmark')
-rw-r--r--bindings/python/google_benchmark/__init__.py3
-rw-r--r--bindings/python/google_benchmark/version.py7
2 files changed, 2 insertions, 8 deletions
diff --git a/bindings/python/google_benchmark/__init__.py b/bindings/python/google_benchmark/__init__.py
index c1393b4..e7870c8 100644
--- a/bindings/python/google_benchmark/__init__.py
+++ b/bindings/python/google_benchmark/__init__.py
@@ -49,7 +49,8 @@ from google_benchmark._benchmark import (
oNone as oNone,
oNSquared as oNSquared,
)
-from google_benchmark.version import __version__ as __version__
+
+__version__ = "1.9.0"
class __OptionMaker:
diff --git a/bindings/python/google_benchmark/version.py b/bindings/python/google_benchmark/version.py
deleted file mode 100644
index a324693..0000000
--- a/bindings/python/google_benchmark/version.py
+++ /dev/null
@@ -1,7 +0,0 @@
-from importlib.metadata import PackageNotFoundError, version
-
-try:
- __version__ = version("google-benchmark")
-except PackageNotFoundError:
- # package is not installed
- pass