From 25179e8767d29df5fe30a099d1921b747d7ab38d Mon Sep 17 00:00:00 2001 From: David Nabergoj Date: Sat, 19 Oct 2024 20:45:28 +0200 Subject: [PATCH] Set version to v1.1.0 --- torchflows/_version.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/torchflows/_version.py b/torchflows/_version.py index c479a20..2f0abb8 100644 --- a/torchflows/_version.py +++ b/torchflows/_version.py @@ -1,12 +1 @@ -from pathlib import Path - -try: - import toml - - pyproject_toml_file = Path(__file__).parents[1] / "pyproject.toml" - data = toml.load(pyproject_toml_file) - __version__ = data["project"]["version"] -except ImportError: - import importlib.metadata - - __version__ = importlib.metadata.version("torchflows") +__version__ = "v1.1.0"