From 92cb6651ad224d9a5dbbf15214d970304cdcfea6 Mon Sep 17 00:00:00 2001 From: Tristan Slominski Date: Tue, 25 Feb 2025 15:14:55 -0600 Subject: [PATCH] build: use version from source; remove obsolete option (#189) --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d9c84add..d9b4caf6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dynamic = ['version'] license = { file = 'LICENSE' } name = 'tbp.monty' readme = 'README.md' -requires-python = '>=3.7, <4' +requires-python = '>=3.8' [project.optional-dependencies] analysis = [ @@ -129,9 +129,6 @@ junit_family = 'xunit1' "qt" = 'import quaternion as qt' "mn" = 'import magnum as mn' -[tool.distutils.bdist_wheel] -universal = true - [tool.coverage.run] branch = true parallel = true @@ -348,6 +345,9 @@ max-complexity = 18 [tool.ruff.lint.pydocstyle] convention = "google" +[tool.setuptools.dynamic] +version = { attr = "tbp.monty.__version__" } + [tool.setuptools.packages.find] where = ["src"] namespaces = true