diff --git a/bindings/sysman/python/pyproject.toml b/bindings/sysman/python/pyproject.toml index 0da31de0..227cb252 100644 --- a/bindings/sysman/python/pyproject.toml +++ b/bindings/sysman/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "pyzes" -version = "0.1.1" +dynamic = ["version"] description = "Python bindings for Intel Level-Zero Driver Library (Sysman API)" readme = "README.md" requires-python = ">=3.10" @@ -36,6 +36,9 @@ package-dir = {"" = "source"} py-modules = ["pyzes"] packages = ["examples"] +[tool.setuptools.dynamic] +version = {attr = "pyzes.__version__"} + [tool.coverage.run] omit = [ "source/examples/*", diff --git a/bindings/sysman/python/source/examples/__init__.py b/bindings/sysman/python/source/examples/__init__.py index dedd57d5..4a6976e8 100644 --- a/bindings/sysman/python/source/examples/__init__.py +++ b/bindings/sysman/python/source/examples/__init__.py @@ -10,5 +10,3 @@ These examples show how to use the pyzes module for Intel Level-Zero System Management. """ - -__version__ = "0.1.0" diff --git a/bindings/sysman/python/source/pyzes.py b/bindings/sysman/python/source/pyzes.py index 6b8c5097..10450576 100644 --- a/bindings/sysman/python/source/pyzes.py +++ b/bindings/sysman/python/source/pyzes.py @@ -9,6 +9,9 @@ # Python bindings for the libze_intel_gpu.so / ze_intel_gpu.dll library ## +__version__ = "0.1.2" +__build__ = 1 + import sys import threading from ctypes import *