From e269d88b167acdad21807720e33b3665d3d7b62b Mon Sep 17 00:00:00 2001 From: Ben Batman Date: Wed, 9 Jul 2025 11:13:37 -0400 Subject: [PATCH 1/2] updating pyproject.toml --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 66fb175..7bd92a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=42", "wheel"] +requires = ["setuptools>=64", "wheel", "setuptools-scm>=8"] build-backend = "setuptools.build_meta" [project] @@ -41,6 +41,8 @@ classifiers = [ requires-python = ">=3.10" +[tool.setuptools_scm] + [project.optional-dependencies] dev = [ From c4eb19e43b2f300b6224b181c2ca45aa61088998 Mon Sep 17 00:00:00 2001 From: Ben Batman Date: Wed, 9 Jul 2025 11:18:37 -0400 Subject: [PATCH 2/2] update readme in pyproject --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7bd92a1..49486a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "captionalchemy" dynamic = ["version"] description = "A Python package to create closed captions with face detection and recognition." -readme = "README.md" +readme = { file = "README.md", content-type = "text/markdown" } license = { text = "MIT" } authors = [{ name = "Ben Batman", email = "benbatman2@gmail.com" }] keywords = [ @@ -52,7 +52,6 @@ dev = [ "black==25.1.0", "pytest-cov==6.2.1", "setuptools-scm==8.3.1", - ] cuda = ["onnxruntime-gpu==1.22.0"]