Skip to content

Commit f7f6446

Browse files
authored
Merge pull request #24 from andhus/fix-versioneer
Re-inits `versioneer` and adds missing `cmdclass` to `setup.py`
2 parents bd39c33 + fc7b606 commit f7f6446

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
setup(
1818
name='dirhash',
1919
version=versioneer.get_version(),
20+
cmdclass=versioneer.get_cmdclass(),
2021
description=DESCRIPTION,
2122
long_description=long_description,
2223
long_description_content_type="text/markdown",

src/dirhash/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def get_config() -> VersioneerConfig:
5151
cfg = VersioneerConfig()
5252
cfg.VCS = "git"
5353
cfg.style = "pep440"
54-
cfg.tag_prefix = ""
54+
cfg.tag_prefix = "v"
5555
cfg.parentdir_prefix = "dirhash-"
5656
cfg.versionfile_source = "src/dirhash/_version.py"
5757
cfg.verbose = False

0 commit comments

Comments
 (0)