diff options
Diffstat (limited to 'bindings/python')
-rw-r--r-- | bindings/python/google_benchmark/__init__.py | 3 | ||||
-rw-r--r-- | bindings/python/google_benchmark/version.py | 7 |
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 |