From 774acdf5574cd7d7c6f031fcef76152b7c7e1a5c Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Thu, 11 Sep 2025 11:01:23 -0500 Subject: [PATCH 1/2] pyproject: correct package name, use dynamic versioning --- pyproject.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f0d30e6..447f080 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,16 +6,15 @@ requires = [ "setuptools", "wheel", - "setuptools-scm", + "setuptools_scm[toml]>=6.0", ] [project] -name = "circuitpython-jepler-udecimal" +name = "jepler-circuitpython-udecimal" description = "Reduced version of the decimal library for CircuitPython" -version = "0.0.0+auto.0" readme = "README.rst" authors = [ - {name = "Jeff Epler", email = "jepler@gmail.com"} + {name = "Jeff Epler", email = "jepler@unpythonic.net"} ] urls = { Source = "https://github.com/jepler/Jepler_CircuitPython_udecimal", Documentation = "https://jepler-udecimal.readthedocs.io/en/latest/api/jepler_udecimal/index.html", Tracker = "https://github.com/jepler/Jepler_CircuitPython_udecimal/issues" } # "Pull Requests" = "https://github.com/jepler/Jepler_CircuitPython_udecimal/pulls", @@ -40,7 +39,7 @@ classifiers = [ "License :: OSI Approved :: Python Software Foundation License", "Programming Language :: Python :: 3", ] -dynamic = ["dependencies", "optional-dependencies"] +dynamic = ["version", "dependencies", "optional-dependencies"] [tool.setuptools] From 8793f7560b1f0cc2736d92308656a4da1e06ba78 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Thu, 11 Sep 2025 11:02:53 -0500 Subject: [PATCH 2/2] pyproject: Remove deprecated elements --- pyproject.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 447f080..674646d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,14 +29,12 @@ keywords = [ "arbitraryprecision", "math", ] -license = {text = "MIT"} +license = "MIT" classifiers = [ "Intended Audience :: Developers", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Embedded Systems", "Topic :: System :: Hardware", - "License :: OSI Approved :: MIT License", - "License :: OSI Approved :: Python Software Foundation License", "Programming Language :: Python :: 3", ] dynamic = ["version", "dependencies", "optional-dependencies"]