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"