From dd161f7364edc5b97dc7d06c43827fd40a6ffea9 Mon Sep 17 00:00:00 2001 From: Francois Lanusse Date: Fri, 20 Dec 2024 07:45:29 -0500 Subject: [PATCH] Adding version (#29) * adding version * fixing version file Former-commit-id: ba1206bce8a310f6ed06040c2e23b69d0ea502aa --- pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9fb84d2..46f46d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["setuptools", "wheel"] +requires = ["setuptools", "wheel", "setuptools-scm"] build-backend = "setuptools.build_meta" [project] name = "JaxPM" -version = "0.0.1" +dynamic = ["version"] description = "A dead simple FastPM implementation in JAX" authors = [{ name = "JaxPM developers" }] readme = "README.md" @@ -28,3 +28,6 @@ test = [ [tool.setuptools] packages = ["jaxpm"] + +[tool.setuptools_scm] +version_file = "jaxpm/_version.py"