From fc7b60628e08646084105d59eae0b1afed5cc53e Mon Sep 17 00:00:00 2001 From: Anders Huss Date: Tue, 9 Apr 2024 23:29:50 +0200 Subject: [PATCH] reinits versioneer and adds missing cmdclass to setup.py --- setup.py | 1 + src/dirhash/_version.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bb98d2b..5461af4 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,7 @@ setup( name='dirhash', version=versioneer.get_version(), + cmdclass=versioneer.get_cmdclass(), description=DESCRIPTION, long_description=long_description, long_description_content_type="text/markdown", diff --git a/src/dirhash/_version.py b/src/dirhash/_version.py index 36c109b..d5278f4 100644 --- a/src/dirhash/_version.py +++ b/src/dirhash/_version.py @@ -51,7 +51,7 @@ def get_config() -> VersioneerConfig: cfg = VersioneerConfig() cfg.VCS = "git" cfg.style = "pep440" - cfg.tag_prefix = "" + cfg.tag_prefix = "v" cfg.parentdir_prefix = "dirhash-" cfg.versionfile_source = "src/dirhash/_version.py" cfg.verbose = False