From 53a0c773d022ee83e7bc86433798715ed5c891fe Mon Sep 17 00:00:00 2001 From: Fabio Batalha Date: Wed, 12 Jul 2023 13:16:56 -0400 Subject: [PATCH] Update version --- crossref/__init__.py | 4 +++- pyproject.toml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/crossref/__init__.py b/crossref/__init__.py index 3585554..e0a98b6 100644 --- a/crossref/__init__.py +++ b/crossref/__init__.py @@ -1 +1,3 @@ -VERSION = "1.5.2" +from importlib import metadata + +VERSION = metadata.version("crossrefapi") diff --git a/pyproject.toml b/pyproject.toml index 74f0eb7..f11a512 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,9 @@ version = "1.6.0" description = "Library that implements the endpoints of the Crossref API" authors = ["Fabio Batalha "] readme = "README.rst" +packages = [ + { include = "crossref", from="."} +] [tool.poetry.dependencies] python = "^3.8"