From 6a711f5712095f00e7608e552d6d573b8e962477 Mon Sep 17 00:00:00 2001 From: Edmond Chuc Date: Mon, 19 Feb 2024 10:48:27 +1000 Subject: [PATCH] Fix reading version --- README.rst | 3 ++- pylode/version.py | 5 +---- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index aa0e342..0e88e9b 100644 --- a/README.rst +++ b/README.rst @@ -284,7 +284,8 @@ Release Schedule :header: "Version", "Date", "Description" :widths: 15, 10, 30 - **3.1.0**, **16 February 2024**, "Add supermodel mode - supports documenting profiles and modules" + **3.1.1** **19 February 2024**, "Fix release" + **3.1.0**, **19 February 2024**, "Add supermodel mode - supports documenting profiles and modules" **3.0.5**, **27 April 2023**, "Minor patching" 3.0.4, 24 May 2022, "Use of Poetry" 3.0.2, 24 May 2022, "Support for preformatted skos:example literals" diff --git a/pylode/version.py b/pylode/version.py index a62d16c..d539d50 100644 --- a/pylode/version.py +++ b/pylode/version.py @@ -1,4 +1 @@ -import pkg_resources - -version = pkg_resources.get_distribution("pylode").version -__version__ = version +__version__ = "3.1.1" diff --git a/pyproject.toml b/pyproject.toml index a9f7573..a1cda19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pylode" -version = "3.1.0a" +version = "3.1.1a" description = "An OWL ontology documentation tool using Python, based on LODE." authors = ["Nicholas Car "] readme = "README.rst"