diff --git a/pyproject.toml b/pyproject.toml index 7e37905..d0b3230 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "python-woc" -version = "0.2.0" +version = "0.2.1" description = "Python interface for World of Code" authors = ["Runzhi He ", "Marat "] license = "GPL-3.0" diff --git a/woc/__init__.py b/woc/__init__.py index cc4de37..22a78b2 100644 --- a/woc/__init__.py +++ b/woc/__init__.py @@ -19,3 +19,7 @@ """ # noqa: D205 __all__ = ["local", "tch", "detect", "objects"] + +import importlib.metadata + +__version__ = importlib.metadata.version("python-woc")