From cb1eaf028f0890815d95596dcf894b97da11a816 Mon Sep 17 00:00:00 2001 From: Graeme Smecher Date: Fri, 19 Apr 2024 15:11:36 -0700 Subject: [PATCH] pyproject: fix version number (use setuptools_scm) --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 35a70ff..d717281 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,6 +3,7 @@ requires = [ "cmake>=3.12", "pybind11", "setuptools>=42", + "setuptools_scm[toml]>=6.3", "wheel", ] build-backend = "setuptools.build_meta" @@ -10,7 +11,6 @@ build-backend = "setuptools.build_meta" [project] name='tuber' description='Serve Python (or C++) objects across a LAN using something like JSON-RPC' -version='0.10' authors=[ {name="Graeme Smecher", email="gsmecher@threespeedlogic.com"}, ] @@ -21,9 +21,12 @@ classifiers=[ "Operating System :: OS Independent", ] license = {file="LICENSE"} +dynamic = ["version"] [options] package_dir={tuber="py"} +[tool.setuptools_scm] + [tool.black] line-length = 120