From d74ccfca56148bd1d7fafd6e52b2609f7a012440 Mon Sep 17 00:00:00 2001 From: Lojack <1458329+lojack5@users.noreply.github.com> Date: Mon, 23 Jan 2023 17:58:50 -0700 Subject: [PATCH] use single-source version info (#44) --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8d3f80d..84e5d75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,9 +25,12 @@ build-backend = 'setuptools.build_meta' [tool.setuptools] package-dir = {"structured" = "structured"} +[tool.setuptools.dynamic] +version = {attr = 'structured.__version__'} + [project] name = 'structured_classes' -version = '3.0.1' +dynamic = ['version'] authors = [ { name = 'lojack5' }, ]