From 27a6a09b95e997a3f782ec9e0dc38471bad832b8 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 3 Aug 2024 13:46:03 -0700 Subject: [PATCH] ft: detect version from tags --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index de15891..82ffd30 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,6 @@ build-backend = "hatchling.build" [project] name = "PyReprism" -version = "0.0.2" authors = [ { name= "UNLV EVOL LAB", email="ogenrwot@unlv.nevada.edu" }, ] @@ -25,6 +24,9 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.hatch.version.sources.git] +tag-pattern = "v*" + [tool.hatch.build.targets.wheel] packages = ["src/PyReprism"]