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"